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:
NullBite 2025-02-15 20:06:35 -05:00
parent be3ec1900a
commit aed770afe6
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ jobs:
- uses: ryanccn/attic-action@v0 - uses: ryanccn/attic-action@v0
with: with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }} endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }} cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
# free useless disk space # free useless disk space
- run: 'bash ci/util_free_space_extreme.sh' - run: 'bash ci/util_free_space_extreme.sh'
@ -38,7 +38,7 @@ jobs:
- uses: ryanccn/attic-action@v0 - uses: ryanccn/attic-action@v0
with: with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }} endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }} cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
- run: 'nix develop .#ci --command bash ci/run_builds.sh packages' - run: 'nix develop .#ci --command bash ci/run_builds.sh packages'
@ -55,7 +55,7 @@ jobs:
- uses: ryanccn/attic-action@v0 - uses: ryanccn/attic-action@v0
with: with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }} endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }} cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
# free useless disk space # free useless disk space
- run: 'bash ci/util_free_space_extreme.sh' - run: 'bash ci/util_free_space_extreme.sh'

View File

@ -21,7 +21,7 @@ jobs:
- uses: ryanccn/attic-action@v0 - uses: ryanccn/attic-action@v0
with: with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }} endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }} cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
# free useless disk space # free useless disk space
- run: 'bash ci/util_free_space_extreme.sh' - run: 'bash ci/util_free_space_extreme.sh'
@ -41,7 +41,7 @@ jobs:
- uses: ryanccn/attic-action@v0 - uses: ryanccn/attic-action@v0
with: with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }} endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }} cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
# free useless disk space # free useless disk space
- run: 'bash ci/util_free_space_extreme.sh' - run: 'bash ci/util_free_space_extreme.sh'