Skip to content

Commit

Permalink
Added workflow step to create Github release
Browse files Browse the repository at this point in the history
  • Loading branch information
tk-nguyen authored and hoangdat committed Mar 3, 2023
1 parent f199842 commit e9a989d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,18 @@ jobs:
APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }}
run: bundle exec fastlane release
working-directory: ${{ matrix.os }}

- name: Preparing APK for release
if: matrix.os == 'android'
env:
VERSION: ${{ github.ref_name }}
run: cp build/app/outputs/flutter-apk/app-release.apk Linshare-${VERSION}.apk

- name: Create Github release
if: matrix.os == 'android'
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
generate_release_notes: true
files: |
Linshare-${{ github.ref_name }}.apk

0 comments on commit e9a989d

Please sign in to comment.