Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
surfaceocean authored Aug 19, 2024
1 parent 91fcc53 commit 2d010ad
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,20 @@ jobs:
id: releaseApk
run: echo "apkfile=$(find app/build/outputs/apk/release/*.apk)" >> $GITHUB_OUTPUT

- run: mv ${{steps.releaseApk.outputs.apkfile}} NextTraceroute-$GITHUB_REF_NAME.apk

- run: mv ${{steps.releaseAab.outputs.aabfile}} NextTraceroute-$GITHUB_REF_NAME.aab

- name: Upload APK to Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ github.token }}
file: NextTraceroute-${{ env.GITHUB_REF_NAME }}.apk
asset_name: NextTraceroute-${{ env.GITHUB_REF_NAME }}.apk
file: ${{steps.releaseApk.outputs.apkfile}}
asset_name: NextTraceroute-$tag.apk
tag: ${{ github.ref }}
overwrite: true

- name: Upload AAB to Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ github.token }}
file: NextTraceroute-${{ env.GITHUB_REF_NAME }}.aab
asset_name: NextTraceroute-${{ env.GITHUB_REF_NAME }}.aab
file: ${{steps.releaseAab.outputs.aabfile}}
asset_name: NextTraceroute-$tag.aab
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 2d010ad

Please sign in to comment.