From 209618a6a2fcf3e9652737f4884c3b7b6f1cd584 Mon Sep 17 00:00:00 2001 From: seepine Date: Wed, 2 Aug 2023 09:29:06 +0800 Subject: [PATCH] fix --- .gitea/workflows/multiple.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/multiple.yml b/.gitea/workflows/multiple.yml index d52dead..103aa8d 100644 --- a/.gitea/workflows/multiple.yml +++ b/.gitea/workflows/multiple.yml @@ -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