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:
2026-05-17 04:50:59 -07:00
parent 61be5efadc
commit bd646ff4a4
+2 -2
View File
@@ -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