mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 18:22:49 +02:00
fix(ci): Use GH_PUBLIC_RO env var in sccache action
Consistent with setup-rust action, prioritise GH_PUBLIC_RO environment variable over token input to ensure reliable sccache downloads.
This commit is contained in:
parent
63464a90b1
commit
e88c31ea05
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ runs:
|
||||||
- name: Install sccache
|
- name: Install sccache
|
||||||
uses: https://github.com/mozilla-actions/sccache-action@v0.0.9
|
uses: https://github.com/mozilla-actions/sccache-action@v0.0.9
|
||||||
with:
|
with:
|
||||||
token: ${{ inputs.token }}
|
token: ${{ env.GH_PUBLIC_RO || inputs.token }}
|
||||||
- name: Configure sccache
|
- name: Configure sccache
|
||||||
uses: https://github.com/actions/github-script@v7
|
uses: https://github.com/actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue