From 967c194a4597b55c63512313368d9fdbe8f15563 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 25 Jun 2023 01:11:21 -0400 Subject: [PATCH] fix: use outputs in build job --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b43a282..67c9486 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,6 +6,8 @@ on: jobs: build: runs-on: ubuntu-latest + outputs: + cache-primary-key: ${{ steps.cache.outputs.cache-primary-key }} steps: - uses: actions/checkout@v3 - name: Use Node.js @@ -29,7 +31,7 @@ jobs: - uses: actions/cache/restore@v3 with: path: . - key: ${{ needs.build.steps.cache.outputs.cache-primary-key }} + key: ${{ needs.build.outputs.cache-primary-key }} - name: Install SSH key uses: shimataro/ssh-key-action@v2 with: