From 536f822b60e8f78cc3c8a88a100e3af2293420e2 Mon Sep 17 00:00:00 2001 From: Jack Boswell Date: Wed, 2 Nov 2022 23:22:11 -0700 Subject: [PATCH] Update release workflow (#155) --- .github/workflows/release.yml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9230c40..ca47080d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,24 +1,16 @@ -name: "Tag & Deploy Action" +name: "Update v1 tag" on: - push: - branches: - - master + release: + types: [released] jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2.5.0 - - name: Install - run: npm ci - - - name: Run Tests - run: npm run test - - - name: Update v1 Tag - uses: hole19/git-tag-action@master - env: - TAG: v1 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: rickstaa/action-create-tag@v1 + with: + tag: v1 + force_push_tag: true