fix: use actions/cache@v3 for Gitea v1 cache API
actions/cache@v4 uses v2 API which Gitea's cache server doesn't support, causing hangs. @v3 uses v1 protocol compatible with act_runner.
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
echo "hash=$(sha256sum package-lock.json | cut -d' ' -f1)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
node_modules
|
||||
@@ -67,7 +67,7 @@ jobs:
|
||||
echo "hash=$(sha256sum package-lock.json | cut -d' ' -f1)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
node_modules
|
||||
|
||||
Reference in New Issue
Block a user