@@ -30,43 +30,43 @@ jobs:
30
30
steps :
31
31
- name : Checkout Frosty repo
32
32
uses : actions/checkout@v4
33
-
33
+
34
34
# Install Ruby and install/cache dependencies with bundler in order to use fastlane.
35
35
- name : Set up Ruby and Bundler
36
36
uses : ruby/setup-ruby@v1
37
37
with :
38
38
ruby-version : 3.2
39
39
bundler-cache : true
40
-
40
+
41
41
# Setup Java so that we can build the appbundle.
42
42
- name : Set up Java
43
43
uses : actions/setup-java@v3
44
44
with :
45
45
distribution : temurin
46
46
java-version : 21
47
-
47
+
48
48
# Setup and cache Flutter to install packages and build.
49
49
- name : Set up Flutter
50
50
uses : subosito/flutter-action@v2
51
51
with :
52
52
cache : true
53
-
53
+
54
54
# Decode and create the upload-keystore.jks file, used for signing the app.
55
55
- name : Decode and create upload-keystore.jks
56
56
run : echo $UPLOAD_KEYSTORE | base64 --decode > $GITHUB_WORKSPACE/android/upload-keystore.jks
57
-
57
+
58
58
# Create the key.properties file, used for signing the app.
59
59
- name : Create key.properties
60
60
run : |
61
61
echo storePassword=$STORE_PASSWORD >> $KEY_FILE_PATH
62
62
echo keyPassword=$KEY_PASSWORD >> $KEY_FILE_PATH
63
63
echo keyAlias=upload >> $KEY_FILE_PATH
64
64
echo storeFile=$GITHUB_WORKSPACE/android/upload-keystore.jks >> $KEY_FILE_PATH
65
-
65
+
66
66
# Build the Android app bundle (AAB) and pass the environment variables.
67
67
- name : Build the Android AAB
68
68
run : flutter build appbundle --dart-define CLIENT_ID=$CLIENT_ID --dart-define SECRET=$SECRET
69
-
69
+
70
70
# Deploy to the play store with fastlane.
71
71
- name : Deploy with fastlane
72
72
run : cd android && bundle exec fastlane deploy
83
83
steps :
84
84
- name : Checkout Frosty repo
85
85
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
+
87
92
# Install Ruby and install/cache dependencies with bundler in order to use fastlane.
88
93
- name : Set up Ruby and Bundler
89
94
uses : ruby/setup-ruby@v1
0 commit comments