From bed926c489237bb94edc49c458a03c6d67088a97 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 11 Oct 2021 14:24:00 -0500 Subject: [PATCH] Add release mechanism --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 0000000..ba86460 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +on: + push: + branches-ignore: + - '*' + tags: + - 'v*' + workflow_dispatch: +env: + GH_TOKEN_DISPATCH: ${{ secrets.GH_TOKEN_DISPATCH }} + +jobs: + tagged-release: + name: "Tagged Release" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 14.17.0 + uses: actions/setup-node@v1 + - name: Build + run: ${GITHUB_WORKSPACE}/.github/actions/build.sh + - uses: "marvinpinto/action-automatic-releases@v1.2.1" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: false + files: | + build/*.zip