This repository was 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.
* feat: update ios app icon and bundle name * Implement system back button handling * Migrate to local resources for app icon * ci: remove test branch * Add exports * ci: run * Try build xcarhive * add pod insatll * try gradlew * add java gp * Add build ipa * Add provisit updates * Remove allow to update * Change key * commit * Try deploy to test fly * Change export option for ios project * Ci: try new export options * Separate build xcarhive and ipa * ci: trigger * Try new export file * Try xcrun * try new export g * Try new ci file * remove cd * fixed ls commands * Fixed export option path * try new export option * try ad hoc * Remove method * Try new ci * try method ad hoc * Try deploy to test flight * fix upload to test flight for xcode 13 * Remove comments * fixed style * Try version change * Merge android and ios ci * Try without java action * fix: pull requset ci
- Loading branch information
1 parent
e0b6052
commit b7174d3
Showing
26 changed files
with
161 additions
and
66 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -3,15 +3,14 @@ name: Publish Android Nightly build | |
on: | ||
push: | ||
branches: | ||
- setup_release_ci | ||
- main | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
prepare_deploy: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: "checkout" | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
- uses: actions-ecosystem/action-get-latest-tag@v1 | ||
id: get-latest-tag | ||
|
@@ -44,14 +43,14 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Gradle | ||
- name: "Setup Gradle" | ||
uses: gradle/gradle-build-action@v2 | ||
|
||
- name: Build bundle release | ||
- name: "Build bundle release" | ||
run: gradle android:bundleRelease | ||
|
||
- uses: r0adkll/sign-android-release@v1 | ||
name: Sign app aab file | ||
name: "Sign app aab file" | ||
id: sign_app | ||
with: | ||
releaseDirectory: androidApp/build/outputs/bundle/release | ||
|
@@ -64,7 +63,7 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: Aab file | ||
name: "Upload AAB file as artifact" | ||
path: ${{steps.sign_app.outputs.signedReleaseFile}} | ||
|
||
- name: "Upload to Google Play" | ||
|
@@ -75,3 +74,60 @@ jobs: | |
releaseFiles: ${{steps.sign_app.outputs.signedReleaseFile}} | ||
track: beta | ||
status: completed | ||
|
||
deploy_ios: | ||
needs: [ prepare_deploy ] | ||
env: | ||
MIXDRINKS_MOBILE_APP_VERSION_NAME: ${{ needs.prepare_deploy.outputs.output_write_mix_drinks_mobile_version_name }} | ||
MIXDRINKS_MOBILE_APP_VERSION_CODE: ${{ needs.prepare_deploy.outputs.output_write_mix_drinks_mobile_version_code }} | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
|
||
- 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 | ||
with: | ||
version: ${{ env.MIXDRINKS_MOBILE_APP_VERSION_NAME }} | ||
build-number: ${{ env.MIXDRINKS_MOBILE_APP_VERSION_CODE }} | ||
project-path: iosApp | ||
|
||
- name: "Build IOS App" | ||
uses: yukiarrr/[email protected] | ||
with: | ||
project-path: iosApp/iosApp.xcodeproj | ||
p12-base64: ${{ secrets.MIXDRINKS_IOS_P12_BASE64 }} | ||
mobileprovision-base64: ${{ secrets.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 }} | ||
workspace-path: iosApp/iosApp.xcworkspace | ||
export-method: "ad-hoc" | ||
- name: "Upload IPA file as artifact" | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: IOS IPA | ||
path: "output.ipa" | ||
|
||
- name: Install private API key P8 | ||
env: | ||
PRIVATE_API_KEY_BASE64: ${{ secrets.MIXDRINKS_IOS_APPSTORE_API_PRIVATE_KEY }} | ||
API_KEY: ${{ secrets.MIXDRINKS_IOS_APPSTORE_API_KEY_ID }} | ||
run: | | ||
mkdir -p ~/private_keys | ||
echo -n "$PRIVATE_API_KEY_BASE64" | base64 --decode --output ~/private_keys/AuthKey_$API_KEY.p8 | ||
- name: "Upload IPA file to test flight" | ||
env: | ||
API_KEY: ${{ secrets.MIXDRINKS_IOS_APPSTORE_API_KEY_ID }} | ||
API_ISSUER: ${{ secrets.MIXDRINKS_IOS_APPSTORE_ISSUER_ID }} | ||
run: xcrun altool --output-format xml --upload-app -f output.ipa -t ios --apiKey $API_KEY --apiIssuer $API_ISSUER |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*.iml | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea | ||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TEAM_ID=9LJW42P73L | ||
BUNDLE_ID=com.myapplication.MyApplication | ||
BUNDLE_ID=org.mixdrinks.app | ||
APP_NAME=MixDrinks |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -77,4 +77,4 @@ | |
"author": "xcode", | ||
"version": 1 | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1,11 @@ | ||
import androidx.appcompat.app.AppCompatActivity | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.platform.LocalContext | ||
import com.arkivanov.decompose.defaultComponentContext | ||
import org.mixdrinks.app.MixDrinksApp | ||
|
||
@Composable | ||
fun MainView() = MixDrinksApp() | ||
fun MainView() { | ||
val context = (LocalContext.current as AppCompatActivity).defaultComponentContext() | ||
MixDrinksApp(context) | ||
} |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.