From 22a64cdd58b91d01878b4b6e964200e45291c19a Mon Sep 17 00:00:00 2001 From: adbenitez Date: Fri, 9 Apr 2021 22:54:07 -0400 Subject: [PATCH] fix release.yml 3 --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3cc0b20b7..d427310c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,16 @@ on: - 'v*.*.*' jobs: + tagcheck: + steps: + - id: check-tag + run: | + if [[ "${{ github.event.ref }}" =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then + echo ::set-output name=match::true + fi + build: + if: ${{ github.event_name == 'push' && tagcheck.steps.check-tag.outputs.match == 'true' }} name: Upload Release APK runs-on: ubuntu-latest steps: