This repository has been archived by the owner on May 6, 2024. It is now read-only.
fix(deps): update dependency com.arkivanov.decompose:extensions-compose-jetbrains to v2.2.3 #672
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
name: Run Gradle on PRs | |
on: pull_request | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
os: [ ubuntu-22.04 ] | |
runs-on: ${{ matrix.os }} | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 for x64 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
architecture: x64 | |
- name: Build with Gradle | |
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 | |
- name: Apply versions | |
run: | | |
/usr/libexec/Plistbuddy -c "Set CFBundleVersion $MIXDRINKS_MOBILE_APP_VERSION_CODE" iosApp/iosApp/Info.plist | |
/usr/libexec/Plistbuddy -c "Set CFBundleShortVersionString $MIXDRINKS_MOBILE_APP_VERSION_NAME" iosApp/iosApp/Info.plist | |
- 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" |