mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28: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
|
name: pr_num
|
||||||
path: ./pr_num.txt
|
path: ./pr_num.txt
|
||||||
- uses: actions/cache/save@v3
|
- uses: actions/cache/save@v3
|
||||||
|
if: github.event_name == 'push'
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'app/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'app/yarn.lock') }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue