feat: add inline export of variable

This commit is contained in:
Kasper Juul Hermansen 2023-04-30 00:28:23 +02:00 committed by Kasper Juul Hermansen
parent e39ee28ec0
commit 09fd7c89b8

View File

@ -8,7 +8,6 @@ env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
_EXPERIMENTAL_DAGGER_CACHE_CONFIG: type=gha,mode=max
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -31,5 +30,8 @@ jobs:
- -
name: Expose GitHub Runtime name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v2 uses: crazy-max/ghaction-github-runtime@v2
- name: export proper cache config
run: |
export _EXPERIMENTAL_DAGGER_CACHE_CONFIG="_type=gha,mode=max,url=$ACTIONS_CACHE_URL,token=$ACTIONS_RUNTIME_TOKEN"
- name: Run dagger [CI] - name: Run dagger [CI]
run: cargo run -p ci -- pr run: cargo run -p ci -- pr