fix
Some checks failed
Gitea Actions Demo / Gitea-Actions (push) Failing after 41s
Gitea Actions Demo / setup (push) Successful in 40s
Gitea Actions Demo / test (push) Successful in 1m37s
Gitea Actions Demo / build (push) Successful in 1m37s

This commit is contained in:
seepine 2023-08-02 09:23:13 +08:00
parent 0530d64dbf
commit 916388cbba

View File

@ -48,7 +48,7 @@ jobs:
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ setup.steps.get-hash.outputs.hash }}
key: ${{ runner.os }}-yarn-${{ needs.setup.steps.get-hash.outputs.hash }}
- name: Dependent installation
run: yarn install
@ -61,11 +61,15 @@ jobs:
with:
fetch-depth: 1
- run: echo "${{ needs.setup.steps.get-hash.outputs.hash }}"
- run: echo "${{ steps.get-hash.outputs.hash }}"
- run: echo "${{ outputs.hash }}"
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ setup.steps.get-hash.outputs.hash }}
key: ${{ runner.os }}-yarn-${{ needs.setup.steps.get-hash.outputs.hash }}
- name: Dependent installation
run: yarn install