Skip to content

Commit ca3f924

Browse files
rendyhdclaude
andcommitted
Add create-release job to CI workflow
The build jobs were uploading to a release that didn't exist yet. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 790fadc commit ca3f924

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,17 @@ permissions:
99
contents: write
1010

1111
jobs:
12+
create-release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Create GitHub release
17+
run: gh release create "${{ github.ref_name }}" --title "${{ github.ref_name }}" --generate-notes
18+
env:
19+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
1221
build-windows:
22+
needs: create-release
1323
runs-on: windows-latest
1424
steps:
1525
- uses: actions/checkout@v4
@@ -26,6 +36,7 @@ jobs:
2636
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2737

2838
build-macos:
39+
needs: create-release
2940
runs-on: macos-latest
3041
steps:
3142
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)