mirror of
https://github.com/tiennm99/miti99.git
synced 2026-09-04 04:18:02 +00:00
feat: update cache in github actions
This commit is contained in:
@@ -46,7 +46,9 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
resources
|
||||
key: ${{ runner.os }}-resources
|
||||
key: ${{ runner.os }}-resources-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-resources-
|
||||
- name: Build with Hugo
|
||||
env:
|
||||
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
|
||||
@@ -62,7 +64,7 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
resources
|
||||
key: ${{ runner.os }}-resources
|
||||
key: ${{ runner.os }}-resources-${{ github.run_id }}
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user