Skip to content

Commit

Permalink
daily.yml: also use the GH API token in non-mac jobs [ci skip]
Browse files Browse the repository at this point in the history
403 errors seen on a Linux runner (with linux-glibc):
https://github.com/curl/curl-for-win/actions/runs/9998257208/job/27636721613#step:3:3645

Let's pass the token and use it to auth API requests.
Like we do already in macOS runners.

Follow-up to b461404
  • Loading branch information
vszakats committed Jul 21, 2024
1 parent c77870e commit 3a59d74
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
with:
fetch-depth: '300'
- name: 'build'
env:
GITHUB_TOKEN: '${{ github.token }}'
run: |
export CW_CONFIG='dev-linux'
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
Expand Down Expand Up @@ -67,6 +69,8 @@ jobs:
with:
fetch-depth: '300'
- name: 'build'
env:
GITHUB_TOKEN: '${{ github.token }}'
run: |
export CW_CONFIG='dev-linux-musl'
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
Expand Down Expand Up @@ -104,6 +108,8 @@ jobs:
with:
fetch-depth: '300'
- name: 'build'
env:
GITHUB_TOKEN: '${{ github.token }}'
run: |
export CW_CONFIG='dev-linux-musl-r64'
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
Expand Down Expand Up @@ -177,6 +183,7 @@ jobs:
fetch-depth: '300'
- name: 'build'
env:
GITHUB_TOKEN: '${{ github.token }}'
CW_LLVM_MINGW_DL: '1'
CW_LLVM_MINGW_ONLY: '0'
run: |
Expand Down

0 comments on commit 3a59d74

Please sign in to comment.