Skip to content

Commit

Permalink
Enable builds on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
implausible committed Sep 9, 2019
1 parent 3699ee9 commit 0228707
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 0228707

Please sign in to comment.