Skip to content

Commit 9209d77

Browse files
authored
Fix uploads for releases of the c wrapper (#169)
On windows, need bash to make the syntax valid For all, needed contents: write to be able to actually upload to the releases
1 parent 70c1f96 commit 9209d77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-c-libraries.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
permissions:
19-
contents: read
19+
contents: write
2020
id-token: write
2121

2222
jobs:
@@ -126,6 +126,7 @@ jobs:
126126
127127
- name: Upload release artifacts
128128
if: env.RELEASE == 'true'
129+
shell: bash
129130
env:
130131
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131132
run: |

0 commit comments

Comments
 (0)