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: