From 0b7cb782d4b19bd464eb0c798944beb7ff580530 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 26 Oct 2024 13:43:16 +0200 Subject: [PATCH] chore: fix actions env variable --- .github/workflows/build.yml | 2 +- .github/workflows/shared/setup/action.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ae3f389..d3806bed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: uses: actions/upload-artifact@v4 if: ${{ (success() || failure()) && github.repository == 'mistic100/Photo-Sphere-Viewer' }} with: - name: e2e-report-${{ github.ref_name }}-$SHORT_SHA + name: e2e-report-${{ github.ref_name }}-${{ env.SHORT_SHA }} path: cypress/reports/html - name: test summary diff --git a/.github/workflows/shared/setup/action.yml b/.github/workflows/shared/setup/action.yml index 2affec32..5ab1d12a 100644 --- a/.github/workflows/shared/setup/action.yml +++ b/.github/workflows/shared/setup/action.yml @@ -23,14 +23,14 @@ runs: if: ${{ !startsWith(github.ref_name, 'dependabot') }} with: key: yarn-${{ hashFiles('yarn.lock') }} - path: $YARN_CACHE_DIR + path: ${{ env.YARN_CACHE_DIR }} - name: yarn cache ro uses: actions/cache/restore@v4 if: ${{ startsWith(github.ref_name, 'dependabot') }} with: key: yarn-${{ hashFiles('yarn.lock') }} - path: $YARN_CACHE_DIR + path: ${{ env.YARN_CACHE_DIR }} - name: turbo cache uses: actions/cache@v4