From 09fd7c89b862dc35978bf892ca922b79306543be Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 30 Apr 2023 00:28:23 +0200 Subject: [PATCH] feat: add inline export of variable --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0196f5e..99b3bb8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,7 +8,6 @@ env: CARGO_TERM_COLOR: always AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - _EXPERIMENTAL_DAGGER_CACHE_CONFIG: type=gha,mode=max jobs: deploy: runs-on: ubuntu-latest @@ -31,5 +30,8 @@ jobs: - name: Expose GitHub Runtime 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] run: cargo run -p ci -- pr