Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
Get version and put it in release filename
Browse files Browse the repository at this point in the history
  • Loading branch information
haveyaseen committed Apr 20, 2020
1 parent 8c083f9 commit 08ad516
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
with:
name: app-release.apk
path: .
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Create Release
id: create_release
uses: actions/create-release@latest
Expand All @@ -66,5 +69,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./app-release.apk
asset_name: ito-app-${{ github.ref }}.apk
asset_name: ito-app-${{ steps.get_version.outputs.VERSION }}.apk
asset_content_type: application/zip

0 comments on commit 08ad516

Please sign in to comment.