diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 94bc2cf..37bcb3a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -7,8 +7,8 @@ name: Android Build on: push: - branches: - - production + tags: + - '*' jobs: build: @@ -37,14 +37,9 @@ jobs: KEYSTORE_PASSWD: ${{ secrets.KEYSTORE_PASSWD }} KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} - - name: Generate version tag - id: version_tag - run: echo "VERSION_TAG=v$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV - - - name: Upload Artifact uses: actions/upload-artifact@v2 with: name: app-release.apk - path: build/app/outputs/flutter-apk/app-prod-release.apk + path: build/app/outputs/flutter-apk/app-release.apk