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