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

This commit is contained in:
seepine 2023-08-02 09:29:06 +08:00
parent 916388cbba
commit 209618a6a2

View File

@ -8,6 +8,8 @@ jobs:
image: catthehacker/ubuntu:act-latest
env:
RUNNER_TOOL_CACHE: /toolcache
outputs:
hash: ${{ steps.get-hash.outputs.hash }}
steps:
- name: Checkout
uses: actions/checkout@v3
@ -48,7 +50,7 @@ jobs:
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ needs.setup.steps.get-hash.outputs.hash }}
key: ${{ runner.os }}-yarn-${{ needs.setup.outputs.hash }}
- name: Dependent installation
run: yarn install
@ -62,6 +64,7 @@ jobs:
fetch-depth: 1
- run: echo "${{ needs.setup.steps.get-hash.outputs.hash }}"
- run: echo "${{ needs.setup.outputs.hash }}"
- run: echo "${{ steps.get-hash.outputs.hash }}"
- run: echo "${{ outputs.hash }}"
@ -69,7 +72,7 @@ jobs:
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ needs.setup.steps.get-hash.outputs.hash }}
key: ${{ runner.os }}-yarn-${{ needs.setup.outputs.hash }}
- name: Dependent installation
run: yarn install