Skip to content

Commit

Permalink
ci: remove dry release
Browse files Browse the repository at this point in the history
  • Loading branch information
davguij committed Jun 20, 2020
1 parent 8743d06 commit 2c49c61
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,29 +104,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

release-dry:
runs-on: ubuntu-latest
name: Release version to npm registry
needs: build
if: github.ref != 'refs/heads/master'
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Use Node 12
uses: actions/setup-node@v1
with:
node-version: 12.x

- uses: actions/download-artifact@v2
name: Load dist folder from artifacts
with:
name: dist
path: dist

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release -d

0 comments on commit 2c49c61

Please sign in to comment.