From e415c4985a3123ece4ad19999dc8f276ac9acc44 Mon Sep 17 00:00:00 2001 From: Rob Zwissler Date: Tue, 9 Nov 2021 09:59:12 -0800 Subject: [PATCH] Adding automated build & tag update on release --- .github/workflows/publish.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..18a87df --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,19 @@ +name: Publish + +on: + release: + types: [published, edited] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + ref: ${{ github.event.release.tag_name }} + - name: Install deps and build + run: npm ci && npm run build + - uses: JasonEtco/build-and-tag-action@v2 + env: + GITHUB_TOKEN: ${{ github.token }}