create release on every new version

Simon Smith committed Jul 1, 2022 at 12:32 UTC 7a2b1c73cd74e6283233cd78ea9fc7f648ec8d72
1 file changed +21
.github/workflows/release.yml new
+21
@@ -0,0 +1,21 @@
1 +name: Release
2 +on:
3 + push:
4 + branches:
5 + - master
6 +
7 +jobs:
8 + build:
9 + name: Release
10 + runs-on: ubuntu-latest
11 + steps:
12 + - name: Checkout
13 + uses: actions/checkout@v2
14 + with:
15 + fetch-depth: 0
16 + - name: Release
17 + uses: justincy/github-action-npm-release@2.0.2
18 + id: release
19 + - name: Print release output
20 + if: ${{ steps.release.outputs.released == 'true' }}
21 + run: echo Release ID ${{ steps.release.outputs.release_id }}