mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 07:36:38 +00:00
Use secrets.CI_RELEASE_TEST_GITHUB_TOKEN
for just-setup
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
61a5ed22d0
commit
7a35463462
2 changed files with 9 additions and 3 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -56,7 +56,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
# just-setup use binstall to install sccache,
|
# just-setup use binstall to install sccache,
|
||||||
# which works better when we provide it with GITHUB_TOKEN.
|
# which works better when we provide it with GITHUB_TOKEN.
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.CI_RELEASE_TEST_GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tools: cargo-nextest
|
tools: cargo-nextest
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
# just-setup use binstall to install sccache,
|
# just-setup use binstall to install sccache,
|
||||||
# which works better when we provide it with GITHUB_TOKEN.
|
# which works better when we provide it with GITHUB_TOKEN.
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.CI_RELEASE_TEST_GITHUB_TOKEN }}
|
||||||
|
|
||||||
- run: just avoid-dev-deps
|
- run: just avoid-dev-deps
|
||||||
- run: just check
|
- run: just check
|
||||||
|
@ -121,6 +121,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: ./.github/actions/just-setup
|
- uses: ./.github/actions/just-setup
|
||||||
|
env:
|
||||||
|
# just-setup use binstall to install sccache,
|
||||||
|
# which works better when we provide it with GITHUB_TOKEN.
|
||||||
|
GITHUB_TOKEN: ${{ secrets.CI_RELEASE_TEST_GITHUB_TOKEN }}
|
||||||
|
|
||||||
- run: just toolchain rustfmt,clippy
|
- run: just toolchain rustfmt,clippy
|
||||||
- run: just avoid-dev-deps
|
- run: just avoid-dev-deps
|
||||||
|
|
4
.github/workflows/release-packages.yml
vendored
4
.github/workflows/release-packages.yml
vendored
|
@ -79,7 +79,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
tools: cargo-auditable,rsign2,rage
|
tools: cargo-auditable,rsign2,rage
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# just-setup use binstall to install sccache,
|
||||||
|
# which works better when we provide it with GITHUB_TOKEN.
|
||||||
|
GITHUB_TOKEN: ${{ secrets.CI_RELEASE_TEST_GITHUB_TOKEN }}
|
||||||
|
|
||||||
- run: just toolchain rust-src
|
- run: just toolchain rust-src
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue