From 2a88efe8d874089463c19dabc1cf9119b0a998f9 Mon Sep 17 00:00:00 2001 From: Philip Peterson Date: Wed, 28 May 2025 22:44:15 -0700 Subject: [PATCH] try fix ci --- .github/actions/build/action.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 5afc6cfa..d4b2cdcc 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -39,14 +39,10 @@ runs: python3 -m pip install $EXTRA_ARGS packaging setuptools fi - - name: Get yarn cache directory path - shell: bash - id: yarn-cache-dir-path - run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - - uses: actions/cache/restore@v4 + - uses: actions/cache@v4 + if: github.event_name == 'push' with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + path: .yarn/cache key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'app/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- @@ -152,12 +148,6 @@ runs: name: pr_num path: ./pr_num.txt - - uses: actions/cache/save@v4 - if: github.event_name == 'push' - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'app/yarn.lock') }} - # - name: Run E2E Tests (non-Linux) # if: runner.os != 'Linux' # shell: bash @@ -169,4 +159,4 @@ runs: # with: # run: | # yarn run test -# \ No newline at end of file +#