Skip to content

Fix Google Play #23

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 2 commits 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
33 changes: 17 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,22 @@ jobs:
"${{ env.apk_path }}/${{ env.apk_file }}"
apksigner verify --verbose "${{ env.apk_path }}/${{ env.apk_file }}"

- name: "Upload APK Artifacts"
- name: "Upload APK to Artifacts"
if: ${{ !github.event.act }}
uses: actions/upload-artifact@v4
with:
name: release
path: ${{ env.apk_path }}

- name: "Upload APK to Release"
if: ${{ github.event_name == 'release' }}
uses: svenstaro/upload-release-action@v2
with:
file: ${{ env.apk_path }}/${{ env.apk_file }}
tag: ${{ github.ref }}
overwrite: true
file_glob: true

- name: "Gradle Bundle AAB"
if: ${{ !github.event.release.prerelease }}
run: |
Expand All @@ -168,9 +177,10 @@ jobs:
run: |
echo "env.aab_path: ${{ env.aab_path }}"
ls -lAh ${{ env.aab_path }} ||:
ls -lAh app/build/outputs/mapping/release ||:
ls -lAh app/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib ||:
stat app/build/outputs/mapping/release/mapping.txt
echo "env.debug_symbols: ${{ env.debug_symbols }}"
ls -lAh ${{ env.debug_symbols }} ||:
echo "env.mapping_file: ${{ env.mapping_file }}"
ls -lAh $(dirname ${{ env.debug_symbols }}) ||:

- name: "Sign Bundle"
if: ${{ !github.event.release.prerelease }}
Expand All @@ -183,7 +193,7 @@ jobs:
--ks-key-alias ${{ env.key_name }} \
"${{ env.aab_path }}/${{ env.aab_file }}"

- name: "Upload Bundle Artifacts"
- name: "Upload Bundle to Artifacts"
if: ${{ !github.event.release.prerelease }}
uses: actions/upload-artifact@v4
with:
Expand All @@ -201,24 +211,15 @@ jobs:
if: ${{ github.event_name == 'release' && !github.event.release.prerelease }}
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_JSON }}
packageName: ${{ env.package_name }}
releaseFiles: ${{ env.aab_path }}/${{ env.aab_file }}
mappingFile: ${{ env.mapping_file }}
debugSymbols: ${{ env.debug_symbols }}
mappingFile: ${{ env.mapping_file }}
whatsNewDirectory: whatsNew
releaseName: "${{ github.run_number }} (${{ github.ref_name }})"
track: qa

- name: "Upload to Release"
if: ${{ github.event_name == 'release' }}
uses: svenstaro/upload-release-action@v2
with:
file: ${{ env.apk_path }}/${{ env.apk_file }}
tag: ${{ github.ref }}
overwrite: true
file_glob: true

- name: "VirusTotal"
if: ${{ github.event_name == 'release' }}
uses: cssnr/virustotal-action@v1
Expand Down
Loading