Skip to content

Commit

Permalink
fix: rename release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gf3 committed Sep 28, 2021
1 parent c5d6b21 commit 83bf729
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 121 deletions.
120 changes: 0 additions & 120 deletions .github/workflows/build.yml

This file was deleted.

8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,19 @@ jobs:
- name: Get version tag
uses: olegtarasov/[email protected]
id: tag
- name: Release name
id: release
run: |
ref="${{ steps.tag.outputs.tag }}"
echo "::set-output name=value::${ref:1}"
- uses: actions/download-artifact@v2
with:
path: artifacts
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'rc') }}
name: ${{ steps.release.outouts.value }}
files: artifacts/**/*.gz

publish:
Expand Down Expand Up @@ -107,7 +113,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/setup-node@v2
with:
registry-url: 'https://npm.pkg.github.com'
registry-url: 'https://npm.pkg.github.com/@gf3'
- name: Publish to GitHub
run: npm publish --tag ${{ steps.npm_tag.outputs.value }}
env:
Expand Down

0 comments on commit 83bf729

Please sign in to comment.