From f05aa8d5a33555f022c6fd9cf258238e82d2a003 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Sun, 7 Dec 2025 23:11:28 +0100 Subject: [PATCH] Fix release asset upload to support glob patterns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove duplicate upload step using actions/upload-release-asset@v1 which doesn't support wildcards. Keep only the gh CLI upload which properly handles multiple files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/release.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19c2e0c..c15af91 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,18 +55,7 @@ jobs: - name: Package and make run: npm run make - - name: Upload Windows release assets - if: matrix.os == 'windows-latest' - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: https://uploads.github.com/repos/${{ github.repository }}/releases/${{ needs.draft-release.outputs.release-id }}/assets - asset_path: out/make/squirrel.windows/x64/*.exe - asset_name: SKiTCH-Controller-${{ needs.draft-release.outputs.version }}-Setup.exe - asset_content_type: application/octet-stream - - - name: Upload all Windows assets + - name: Upload Windows assets if: matrix.os == 'windows-latest' run: | for file in out/make/squirrel.windows/x64/*; do