mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
gha save cache only on push events
This commit is contained in:
parent
928209b914
commit
ba91847cb5
1 changed files with 1 additions and 0 deletions
1
.github/workflows/nodejs.yml
vendored
1
.github/workflows/nodejs.yml
vendored
|
|
@ -99,6 +99,7 @@ jobs:
|
|||
name: pr_num
|
||||
path: ./pr_num.txt
|
||||
- uses: actions/cache/save@v3
|
||||
if: github.event_name == 'push'
|
||||
with:
|
||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'app/yarn.lock') }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue