fix release.yml 4

This commit is contained in:
adbenitez
2021-04-09 23:09:48 -04:00
parent 22a64cdd58
commit 72c1f5acb0
+9 -4
View File
@@ -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: