fix gatsby cache
This commit is contained in:
parent
478dd8c9ad
commit
5a5681d479
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -27,13 +27,15 @@ jobs:
|
|||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --prod --pure-lockfile
|
run: yarn install --prod --pure-lockfile
|
||||||
- name: Cache gatsby cache
|
- name: Gatsby cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-gatsby-build-${{ github.run_id }}
|
key: ${{ runner.os }}-gatsby-build-${{ github.run_id }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gatsby-build-
|
${{ runner.os }}-gatsby-build-
|
||||||
path: .cache
|
path: |
|
||||||
|
public
|
||||||
|
.cache
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn run build
|
run: yarn run build
|
||||||
- name: upload
|
- name: upload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user