Skip to content

Update Release WF #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
cmdline_tools: /usr/local/lib/android/sdk/cmdline-tools/latest/bin
key_file: release.keystore
gradle_file: app/build.gradle.kts
signed_apk: app-release.apk

steps:
- name: "Checkout"
Expand Down Expand Up @@ -148,6 +149,7 @@ jobs:
--ks-key-alias ${{ env.key_name }} \
"${{ env.apk_path }}/${{ env.apk_file }}"
apksigner verify --verbose "${{ env.apk_path }}/${{ env.apk_file }}"
mv "${{ env.apk_path }}/${{ env.apk_file }}" "${{ env.apk_path }}/${{ env.signed_apk }}"

- name: "Upload APK to Artifacts"
if: ${{ !github.event.act }}
Expand All @@ -160,7 +162,7 @@ jobs:
if: ${{ github.event_name == 'release' }}
uses: svenstaro/upload-release-action@v2
with:
file: ${{ env.apk_path }}/${{ env.apk_file }}
file: ${{ env.apk_path }}/${{ env.signed_apk }}
tag: ${{ github.ref }}
overwrite: true
file_glob: true
Expand Down Expand Up @@ -240,7 +242,7 @@ jobs:
run: |
echo -e "## Android Release\n\n" >> $GITHUB_STEP_SUMMARY

echo -e "Final APK: \`${{ env.apk_file }}\`\n\n" >> $GITHUB_STEP_SUMMARY
echo -e "Final APK: \`${{ env.signed_apk }}\`\n\n" >> $GITHUB_STEP_SUMMARY

echo -e "<details><summary>Build Artifacts</summary>\n\n" >> $GITHUB_STEP_SUMMARY
echo -e "\`\`\`text\n$(ls -lAh ${{ env.apk_path }})\n\`\`\`\n\n" >> $GITHUB_STEP_SUMMARY
Expand Down
Loading