From 0228707e0b38cdbada2edf8cfeb35ed22704072e Mon Sep 17 00:00:00 2001 From: Tyler Ang-Wanek Date: Mon, 9 Sep 2019 07:45:38 -0700 Subject: [PATCH] Enable builds on tags --- .github/workflows/tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 38b2b42fa..ca23b9126 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -57,7 +57,7 @@ jobs: node utils/retry npm test - name: Deploy - if: startsWith(github.ref, 'refs/tags/test-v') + if: startsWith(github.ref, 'refs/tags/v') env: node_pre_gyp_bucket: ${{ secrets.node_pre_gyp_bucket }} node_pre_gyp_accessKeyId: ${{ secrets.node_pre_gyp_accessKeyId }} @@ -107,19 +107,19 @@ jobs: # but it's not, because the CI runner for windows doesn't wait for each step as listed here # and it treats each additional step past the first as an orphaned process. - name: Deploy (Dependencies) - if: startsWith(github.ref, 'refs/tags/test-v') + if: startsWith(github.ref, 'refs/tags/v') run: npm install -g node-pre-gyp aws-sdk - name: Deploy (Clean) - if: startsWith(github.ref, 'refs/tags/test-v') + if: startsWith(github.ref, 'refs/tags/v') run: node lifecycleScripts\clean - name: Deploy (Package) - if: startsWith(github.ref, 'refs/tags/test-v') + if: startsWith(github.ref, 'refs/tags/v') run: node-pre-gyp package - name: Deploy (Publish) - if: startsWith(github.ref, 'refs/tags/test-v') + if: startsWith(github.ref, 'refs/tags/v') env: node_pre_gyp_bucket: ${{ secrets.node_pre_gyp_bucket }} node_pre_gyp_accessKeyId: ${{ secrets.node_pre_gyp_accessKeyId }}