Skip to content

Commit

Permalink
Release apk added tag
Browse files Browse the repository at this point in the history
  • Loading branch information
schklom committed Feb 22, 2022
1 parent 8f4d1ff commit 070f204
Showing 1 changed file with 9 additions and 1 deletion.
Expand Up @@ -68,8 +68,16 @@ jobs:
run: sudo apt-get install openjdk-11-jdk git adb -y
- name: Build apk
run: ./gradlew --no-daemon assembleRelease
- name: Tag
if: startsWith(github.ref, 'refs/heads/release/')
run: |
git tag "v$env:GitVersion_SemVer"
git push origin "v$env:GitVersion_SemVer"
- name: Release apk
if: startsWith(github.ref, 'refs/heads/release/')
uses: softprops/action-gh-release@v1
#if: startsWith(github.ref, 'refs/tags/')
with:
name: v${{ env.GitVersion_SemVer }}
files: app/build/outputs/apk/app-debug.apk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 070f204

Please sign in to comment.