Skip to content

Commit

Permalink
ci: Release Huawei versions
Browse files Browse the repository at this point in the history
Huawei needs special settings in GmsCore toggled to allow sign-in.
  • Loading branch information
oSumAtrIX committed Apr 5, 2024
1 parent ff89e43 commit b8df76e
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,33 @@ jobs:
java-version: "17"

- name: Build
run: ./gradlew --no-daemon :play-services-core:assembleMapboxDefault
run: ./gradlew --no-daemon :play-services-core:assembleMapboxDefault :play-services-core:assembleMapboxHuawei

- name: Move
run: >
mv
play-services-core/build/outputs/apk/mapboxDefault/release/*.apk
play-services-core/build/outputs/apk/mapboxHuawei/release/*.apk
play-services-core/build/outputs/apk/
- name: Sign
id: sign_apk
uses: ilharp/sign-android-release@v1
with:
releaseDir: play-services-core/build/outputs/apk/mapboxDefault/release
releaseDir: play-services-core/build/outputs/apk
signingKey: ${{ secrets.SIGNING_KEYSTORE }}
keyAlias: ${{ secrets.SIGNING_KEY_ALIAS }}
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}

- name: Split
uses: jungwinter/split@v2
id: signed_files
with:
msg: ${{ steps.sign_apk.outputs.signedFiles }}
separator: ':'

- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: ${{steps.sign_apk.outputs.signedFile}}
artifacts: "${{ steps.signed_files.outputs._0 }},${{ steps.signed_files.outputs._1 }}"

0 comments on commit b8df76e

Please sign in to comment.