Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Sep 2, 2022
2 parents 36055c3 + cdc3cb0 commit 6aebeb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
#only run this task if a tag starting with 'v' was used to trigger this (i.e. a tagged release)
if: startsWith(github.ref, 'refs/tags/v')
needs: ci
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
Expand Down Expand Up @@ -59,4 +59,4 @@ jobs:
#If there's a dash followed by a letter, this is a prerelease and should be tagged "next". Otherwise tag as "latest"
- run: if [[ "${{ github.ref }}" =~ -[a-zA-Z] ]]; then echo "DIST_TAG=next" >> $GITHUB_ENV; else echo "DIST_TAG=latest" >> $GITHUB_ENV; fi
#upload to npm
- run: npm publish --tag ${{env.DIST_TAG}}
- run: npm publish --tag ${{env.DIST_TAG}}

0 comments on commit 6aebeb2

Please sign in to comment.