Skip to content

Commit

Permalink
fix(actions): replace softprops/action-gh-release with gh release (
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Apr 5, 2021
1 parent 81a37f0 commit d81698f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}
id: get_tag
- uses: softprops/action-gh-release@v1
with:
body: |
See the [changelog](https://github.com/${{ github.repository }}/blob/${{ steps.get_tag.outputs.tag }}/CHANGELOG.md) for more details.
- run: gh release create '${{ steps.get_tag.outputs.tag }}' --notes 'See the [changelog](https://github.com/${{ github.repository }}/blob/${{ steps.get_tag.outputs.tag }}/CHANGELOG.md) for more details.'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 1 addition & 4 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,7 @@ jobs:
NODE_AUTH_TOKEN: \${{ secrets.NPM_TOKEN }}
- run: echo ::set-output name=tag::\${GITHUB_REF/refs\\\\/tags\\\\//}
id: get_tag
- uses: softprops/action-gh-release@v1
with:
body: |
See the [changelog](https://github.com/\${{ github.repository }}/blob/\${{ steps.get_tag.outputs.tag }}/CHANGELOG.md) for more details.
- run: gh release create '\${{ steps.get_tag.outputs.tag }}' --notes 'See the [changelog](https://github.com/\${{ github.repository }}/blob/\${{ steps.get_tag.outputs.tag }}/CHANGELOG.md) for more details.'
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
"
Expand Down

0 comments on commit d81698f

Please sign in to comment.