diff --git a/.github/workflows/dotnet-win-gui-x64.yml b/.github/workflows/dotnet-win-x64-gui.yml similarity index 91% rename from .github/workflows/dotnet-win-gui-x64.yml rename to .github/workflows/dotnet-win-x64-gui.yml index 0892fb2..28b5451 100644 --- a/.github/workflows/dotnet-win-gui-x64.yml +++ b/.github/workflows/dotnet-win-x64-gui.yml @@ -55,12 +55,12 @@ jobs: - name: 压缩构建产物 run: | # 将发布目录中的文件压缩为 zip 文件 - Compress-Archive -Path src/MDriveSync.Client.WinFormAPI/bin/Release/net8.0-windows/publish/win-x64/* -DestinationPath "MDrive-win-gui-x64-${{ github.event.release.tag_name }}.zip" + Compress-Archive -Path src/MDriveSync.Client.WinFormAPI/bin/Release/net8.0-windows/publish/win-x64/* -DestinationPath "MDrive-win-x64-gui-${{ github.event.release.tag_name }}.zip" - name: 检查 ZIP 文件 run: | echo "生成的 ZIP 文件:" - dir MDrive-win-gui-x64-${{ github.event.release.tag_name }}.zip + dir MDrive-win-x64-gui-${{ github.event.release.tag_name }}.zip - name: 上传 ZIP 文件到 release uses: actions/upload-release-asset@v1 # 使用最新稳定版本 @@ -68,6 +68,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: "MDrive-win-gui-x64-${{ github.event.release.tag_name }}.zip" - asset_name: "MDrive-win-gui-x64-${{ github.event.release.tag_name }}.zip" + asset_path: "MDrive-win-x64-gui-${{ github.event.release.tag_name }}.zip" + asset_name: "MDrive-win-x64-gui-${{ github.event.release.tag_name }}.zip" asset_content_type: application/zip diff --git a/.github/workflows/dotnet-win-gui-x86.yml b/.github/workflows/dotnet-win-x86-gui.yml similarity index 91% rename from .github/workflows/dotnet-win-gui-x86.yml rename to .github/workflows/dotnet-win-x86-gui.yml index f19a266..b526d83 100644 --- a/.github/workflows/dotnet-win-gui-x86.yml +++ b/.github/workflows/dotnet-win-x86-gui.yml @@ -55,12 +55,12 @@ jobs: - name: 压缩构建产物 run: | # 将发布目录中的文件压缩为 zip 文件 - Compress-Archive -Path src/MDriveSync.Client.WinFormAPI/bin/Release/net8.0-windows/publish/win-x86/* -DestinationPath "MDrive-win-gui-x86-${{ github.event.release.tag_name }}.zip" + Compress-Archive -Path src/MDriveSync.Client.WinFormAPI/bin/Release/net8.0-windows/publish/win-x86/* -DestinationPath "MDrive-win-x86-gui-${{ github.event.release.tag_name }}.zip" - name: 检查 ZIP 文件 run: | echo "生成的 ZIP 文件:" - dir MDrive-win-gui-x86-${{ github.event.release.tag_name }}.zip + dir MDrive-win-x86-gui-${{ github.event.release.tag_name }}.zip - name: 上传 ZIP 文件到 release uses: actions/upload-release-asset@v1 # 使用最新稳定版本 @@ -68,6 +68,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: "MDrive-win-gui-x86-${{ github.event.release.tag_name }}.zip" - asset_name: "MDrive-win-gui-x86-${{ github.event.release.tag_name }}.zip" + asset_path: "MDrive-win-x86-gui-${{ github.event.release.tag_name }}.zip" + asset_name: "MDrive-win-x86-gui-${{ github.event.release.tag_name }}.zip" asset_content_type: application/zip