From 7a2b1c73cd74e6283233cd78ea9fc7f648ec8d72 Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Fri, 1 Jul 2022 12:32:27 +0100 Subject: [PATCH] create release on every new version --- .github/workflows/release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..960df71d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +name: Release +on: + push: + branches: + - master + +jobs: + build: + name: Release + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Release + uses: justincy/github-action-npm-release@2.0.2 + id: release + - name: Print release output + if: ${{ steps.release.outputs.released == 'true' }} + run: echo Release ID ${{ steps.release.outputs.release_id }}