diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9062d54c..241dc963 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/test/__snapshots__/init.test.js.snap b/test/__snapshots__/init.test.js.snap index 4e299951..af80e160 100644 --- a/test/__snapshots__/init.test.js.snap +++ b/test/__snapshots__/init.test.js.snap @@ -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 }} "