This repository has been archived by the owner on May 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new ci * new ci * new ci * android fix * remove night build * fix google plist * try ci android build * clear ci * try new versions * migrate build apps to pull request * new ci * new ci * build prod ios * fixed location of google sevice info plist * fixed prod deploy
- Loading branch information
1 parent
6de67e5
commit 1154333
Showing
8 changed files
with
111 additions
and
169 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,75 @@ jobs: | |
uses: gradle/[email protected] | ||
with: | ||
arguments: check | ||
|
||
build_android: | ||
env: | ||
MIXDRINKS_MOBILE_APP_VERSION_NAME: "0.0.1" | ||
MIXDRINKS_MOBILE_APP_VERSION_CODE: 10 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
architecture: x64 | ||
|
||
- name: Build with Gradle | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: androidApp:bundleRelease | ||
|
||
- uses: r0adkll/sign-android-release@v1 | ||
name: "Sign app aab file" | ||
id: sign_app | ||
with: | ||
releaseDirectory: androidApp/build/outputs/bundle/release | ||
signingKeyBase64: ${{ secrets.MIXDRINKS_ANDROID_SIGNING_KEY }} | ||
alias: ${{ secrets.MIXDRINKS_ANDROID_ALIAS }} | ||
keyStorePassword: ${{ secrets.MIXDRINKS_ANDROID_KEY_STORE_PASSWORD }} | ||
keyPassword: ${{ secrets.MIXDRINKS_ANDROID_KEY_PASSWORD }} | ||
env: | ||
BUILD_TOOLS_VERSION: "30.0.2" | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: "Upload AAB file as artifact" | ||
path: ${{steps.sign_app.outputs.signedReleaseFile}} | ||
|
||
|
||
build_ios: | ||
env: | ||
MIXDRINKS_MOBILE_APP_VERSION_NAME: "0.0.1" | ||
MIXDRINKS_MOBILE_APP_VERSION_CODE: 10 | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
architecture: x64 | ||
|
||
- name: Build pod install | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: podInstall | ||
|
||
- name: "Build IOS App" | ||
uses: yukiarrr/[email protected] | ||
with: | ||
project-path: iosApp/iosApp.xcodeproj | ||
p12-base64: ${{ secrets.MIXDRINKS_IOS_P12_BASE64 }} | ||
mobileprovision-base64: ${{ secrets.PROD_MIXDRINKS_IOS_BUILD_PROVISION_PROFILE_BASE64 }} | ||
code-signing-identity: "iPhone Distribution" | ||
team-id: ${{ secrets.MIXDRINKS_IOS_TEAM_ID }} | ||
certificate-password: ${{ secrets.MIXDRINKS_IOS_CERTIFICATE_PASSWORD }} | ||
export-options: iosApp/exportOptionsRelease.plist | ||
workspace-path: iosApp/iosApp.xcworkspace | ||
export-method: "app-store" | ||
- name: "Upload IPA file as artifact" | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: IOS IPA | ||
path: "output.ipa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,11 +50,16 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: "Setup Gradle" | ||
uses: gradle/gradle-build-action@v2 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
architecture: x64 | ||
|
||
- name: "Build bundle release" | ||
run: gradle android:bundleRelease | ||
- name: Build with Gradle | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: androidApp:bundleRelease | ||
|
||
- uses: r0adkll/sign-android-release@v1 | ||
name: "Sign app aab file" | ||
|
@@ -92,24 +97,17 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
distribution: 'adopt' | ||
architecture: x64 | ||
|
||
- name: "Setup Gradle" | ||
uses: gradle/gradle-build-action@v2 | ||
|
||
- name: "Build xcworkspace" | ||
run: ./gradlew podInstall | ||
|
||
- name: "Setup app version" | ||
uses: yanamura/ios-bump-version@v1 | ||
- name: Build pod install | ||
uses: gradle/[email protected] | ||
with: | ||
version: ${{ env.MIXDRINKS_MOBILE_APP_VERSION_NAME }} | ||
build-number: ${{ env.MIXDRINKS_MOBILE_APP_VERSION_CODE }} | ||
project-path: iosApp | ||
arguments: podInstall | ||
|
||
- name: "Build IOS App" | ||
uses: yukiarrr/ios-build-action@v1.9.1 | ||
uses: yukiarrr/ios-build-action@v1.11.0 | ||
with: | ||
project-path: iosApp/iosApp.xcodeproj | ||
p12-base64: ${{ secrets.MIXDRINKS_IOS_P12_BASE64 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-dontwarn org.bouncycastle.jsse.BCSSLSocket | ||
-dontwarn org.bouncycastle.jsse.BCSSLParameters | ||
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider | ||
-dontwarn org.conscrypt.* | ||
-dontwarn org.openjsse.javax.net.ssl.SSLParameters | ||
-dontwarn org.openjsse.javax.net.ssl.SSLSocket | ||
-dontwarn org.openjsse.net.ssl.OpenJSSE | ||
-dontwarn org.slf4j.impl.StaticLoggerBinder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters