Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GH token to release workflow #43

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/tag-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ jobs:
run: mkdir -p .build && CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows go build -o .build/windows.exe main.go
- name: Add Linux Artifact To Release
run: gh release upload ${{github.event.release.tag_name}} .build/linux --clobber
env:
GH_TOKEN: ${{ github.token }}
- name: Add Windows Artifact To Release
run: gh release upload ${{github.event.release.tag_name}} .build/windows.exe --clobber
env:
GH_TOKEN: ${{ github.token }}
osx:
name: OSX Releases
runs-on: macos-latest
Expand All @@ -47,5 +51,9 @@ jobs:
run: mkdir -p .build && CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -o .build/osx-arm main.go
- name: Add OSX AMD64 Artifact To Release
run: gh release upload ${{github.event.release.tag_name}} .build/osx-amd --clobber
env:
GH_TOKEN: ${{ github.token }}
- name: Add OSX ARM64 Artifact To Release
run: gh release upload ${{github.event.release.tag_name}} .build/osx-arm --clobber
env:
GH_TOKEN: ${{ github.token }}
Loading