Skip to content

Commit 6a0342b

Browse files
committed
fix ios build issue
1 parent 0a75883 commit 6a0342b

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/store-release.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,43 +30,43 @@ jobs:
3030
steps:
3131
- name: Checkout Frosty repo
3232
uses: actions/checkout@v4
33-
33+
3434
# Install Ruby and install/cache dependencies with bundler in order to use fastlane.
3535
- name: Set up Ruby and Bundler
3636
uses: ruby/setup-ruby@v1
3737
with:
3838
ruby-version: 3.2
3939
bundler-cache: true
40-
40+
4141
# Setup Java so that we can build the appbundle.
4242
- name: Set up Java
4343
uses: actions/setup-java@v3
4444
with:
4545
distribution: temurin
4646
java-version: 21
47-
47+
4848
# Setup and cache Flutter to install packages and build.
4949
- name: Set up Flutter
5050
uses: subosito/flutter-action@v2
5151
with:
5252
cache: true
53-
53+
5454
# Decode and create the upload-keystore.jks file, used for signing the app.
5555
- name: Decode and create upload-keystore.jks
5656
run: echo $UPLOAD_KEYSTORE | base64 --decode > $GITHUB_WORKSPACE/android/upload-keystore.jks
57-
57+
5858
# Create the key.properties file, used for signing the app.
5959
- name: Create key.properties
6060
run: |
6161
echo storePassword=$STORE_PASSWORD >> $KEY_FILE_PATH
6262
echo keyPassword=$KEY_PASSWORD >> $KEY_FILE_PATH
6363
echo keyAlias=upload >> $KEY_FILE_PATH
6464
echo storeFile=$GITHUB_WORKSPACE/android/upload-keystore.jks >> $KEY_FILE_PATH
65-
65+
6666
# Build the Android app bundle (AAB) and pass the environment variables.
6767
- name: Build the Android AAB
6868
run: flutter build appbundle --dart-define CLIENT_ID=$CLIENT_ID --dart-define SECRET=$SECRET
69-
69+
7070
# Deploy to the play store with fastlane.
7171
- name: Deploy with fastlane
7272
run: cd android && bundle exec fastlane deploy
@@ -83,7 +83,12 @@ jobs:
8383
steps:
8484
- name: Checkout Frosty repo
8585
uses: actions/checkout@v4
86-
86+
87+
# Always pick the newest production Xcode on the runner
88+
- uses: maxim-lobanov/setup-xcode@v1
89+
with:
90+
xcode-version: latest-stable
91+
8792
# Install Ruby and install/cache dependencies with bundler in order to use fastlane.
8893
- name: Set up Ruby and Bundler
8994
uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)