From 6110aa1d323b78bf087bd55546ea8777ea04d5a9 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Fri, 2 Sep 2022 16:41:25 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 092a9f30..ec2b2606 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,6 +78,7 @@ jobs: fetch-depth: 0 - name: Cache multiple paths + if: matrix.goal == 'build' uses: actions/cache@v3 id: cache-python-ssl with: @@ -86,7 +87,7 @@ jobs: key: gam-${{ matrix.jid }}-20220901-01 - name: Untar Cache archive - if: steps.cache-python-ssl.outputs.cache-hit == 'true' + if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true' run: | tar xvvf bin.tar.xz @@ -716,7 +717,7 @@ jobs: src/*.msi - name: Tar Cache archive - if: steps.cache-python-ssl.outputs.cache-hit != 'true' + if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true' run: | tar cJvvf bin.tar.xz bin/