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 be07e34 commit 9d3ef3f
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,34 @@ 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: |
mkdir play-services-core/build/outputs/apk/releases
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/releases
- 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/releases
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: play-services-core/build/outputs/apk/releases/*-signed.apk

2 comments on commit 9d3ef3f

@Chcjfug

This comment was marked as spam.

@LisoUseInAIKyrios

This comment was marked as off-topic.

Please sign in to comment.