Skip to content

Commit

Permalink
Update build_apk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptonex7 authored Aug 22, 2020
1 parent 23fa93b commit e472629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- run: flutter build apk --debug --split-per-abi
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
run: echo ::set-output name=COMMIT::$(git rev-parse --short "$GITHUB_SHA") && echo ::set-output name=BRANCH::${GITHUB_REF##*/}
- name: Create a Release APK
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/flutter-apk/*.apk"
tag: "preview_${{ steps.get_version.outputs.VERSION }}"
tag: "${{ steps.get_version.outputs.BRANCH }}_${{ steps.get_version.outputs.COMMIT }}"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e472629

Please sign in to comment.