Skip to content

Commit

Permalink
Merge pull request #2472 from get10101/feat/create-ci-release
Browse files Browse the repository at this point in the history
feat: create release and add APK to CI release
  • Loading branch information
bonomat authored Apr 26, 2024
2 parents 817fcc3 + a4a9750 commit 3c1e884
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/android-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,35 @@ jobs:
MEME_ENDPOINT: ${{ inputs.meme_endpoint }}

- name: Attach android apks to release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: ${{ inputs.tag != 'main' }}
with:
tag_name: ${{ inputs.tag }}
files: |
mobile/build/app/outputs/flutter-apk/*.apk
mobile/build/app/outputs/flutter-apk/*.apk.sha1
- name: Compute the release tag for continues ci build
if: ${{ inputs.tag == 'main' }}
run: |
echo "release_tag=v`date '+%Y-%m-%d %H:%M:%S'`" >> $GITHUB_ENV
- name: Attach android apks to release
uses: softprops/action-gh-release@v2
if: ${{ inputs.tag == 'main' }}
with:
prerelease: true
name: ${{ env.release_tag }}
tag_name: ${{ env.release_tag }}
target_commitish: main
make_latest: false
repository: get10101/10101-test-apks
token: ${{ secrets.GITHUB_TOKEN }}
files: |
mobile/build/app/outputs/flutter-apk/*.apk
mobile/build/app/outputs/flutter-apk/*.apk.sha1
- name: Release to Google Play Store
env:
# secrets
Expand Down

0 comments on commit 3c1e884

Please sign in to comment.