From 72c1f5acb0ca28ac05ff9ff813957ec33847494b Mon Sep 17 00:00:00 2001 From: adbenitez Date: Fri, 9 Apr 2021 23:09:48 -0400 Subject: [PATCH] fix release.yml 4 --- .github/workflows/release.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d427310c2..9b8892d4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,16 +7,21 @@ on: - 'v*.*.*' jobs: - tagcheck: + check: + outputs: + status: ${{ steps.check-tag.conclusion }} 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 + exit 0 + else + exit 1 fi - + build: - if: ${{ github.event_name == 'push' && tagcheck.steps.check-tag.outputs.match == 'true' }} + needs: check + if: needs.check.outputs.status == 'success' name: Upload Release APK runs-on: ubuntu-latest steps: