From b8ff5ff97fef3f2d623ff28c8fb170cd61293c46 Mon Sep 17 00:00:00 2001 From: Levi Date: Sat, 24 Oct 2026 11:38:10 +0800 Subject: [PATCH] fix(ci): restore Windows release asset uploads (#1605) --- .github/workflows/build.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96e6afbc..5eb1d6a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,17 +84,6 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - - name: Diagnose Windows compiler selection - if: matrix.arch == 'amd64' && github.event.inputs.test == 'true' - run: | - $ccName = go env CC - Get-Command -Name $ccName -CommandType Application | Format-Table Source - $cc = (Get-Command -Name $ccName -CommandType Application -ErrorAction Stop | Select-Object -First 1).Source - Write-Host "Selected cgo compiler: $cc" - & $cc --version - foreach ($dll in @("libstdc++-6.dll", "libgcc_s_seh-1.dll", "libwinpthread-1.dll")) { - & $cc "-print-file-name=$dll" - } - uses: subosito/flutter-action@v2 with: channel: ${{ matrix.flutter_channel || 'stable' }} @@ -212,15 +201,7 @@ jobs: iscc.exe setup.iss mv "Output\gopeed.exe" "Output\Gopeed-$TAG-windows-${{ matrix.arch }}.exe" Compress-Archive -Path "Output\Gopeed-$TAG-windows-${{ matrix.arch }}.exe" -DestinationPath "Output\Gopeed-$TAG-windows-${{ matrix.arch }}.zip" - - name: Upload Windows test packages - if: github.event.inputs.test == 'true' - uses: actions/upload-artifact@v4 - with: - name: windows-${{ matrix.arch }}-packages - path: ui/flutter/build/windows/Output/* - if-no-files-found: error - name: Upload - if: github.event.inputs.test != 'true' uses: shogo82148/actions-upload-release-asset@v1.9.2 with: upload_url: ${{ needs.get-release.outputs.upload_url }}