Skip to content

Commit

Permalink
Fix uploads for releases of the c wrapper (#169)
Browse files Browse the repository at this point in the history
On windows, need bash to make the syntax valid
For all, needed contents: write to be able to actually upload to the releases
  • Loading branch information
cmmarslender authored Mar 8, 2024
1 parent 70c1f96 commit 9209d77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-c-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
cancel-in-progress: true

permissions:
contents: read
contents: write
id-token: write

jobs:
Expand Down Expand Up @@ -126,6 +126,7 @@ jobs:
- name: Upload release artifacts
if: env.RELEASE == 'true'
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit 9209d77

Please sign in to comment.