ci: use vars instead of secrets for cache name
The cache name is "main" and having everything with "main" in it automatically redacted in the run logs is really annoying.
This commit is contained in:
parent
be3ec1900a
commit
84444bb6de
6
.github/workflows/build-then-cache.yaml
vendored
6
.github/workflows/build-then-cache.yaml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
- uses: ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
cache: ${{ env.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
# free useless disk space
|
||||
- run: 'bash ci/util_free_space_extreme.sh'
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
- uses: ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
cache: ${{ env.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- run: 'nix develop .#ci --command bash ci/run_builds.sh packages'
|
||||
|
||||
@ -55,7 +55,7 @@ jobs:
|
||||
- uses: ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
cache: ${{ env.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
# free useless disk space
|
||||
- run: 'bash ci/util_free_space_extreme.sh'
|
||||
|
4
.github/workflows/proactive-update.yaml
vendored
4
.github/workflows/proactive-update.yaml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
- uses: ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
cache: ${{ env.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
# free useless disk space
|
||||
- run: 'bash ci/util_free_space_extreme.sh'
|
||||
@ -41,7 +41,7 @@ jobs:
|
||||
- uses: ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
cache: ${{ env.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
# free useless disk space
|
||||
- run: 'bash ci/util_free_space_extreme.sh'
|
||||
|
Loading…
x
Reference in New Issue
Block a user