File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : " iOS"
2
+
3
+ on :
4
+ push :
5
+ branches : ["master", "ci"]
6
+
7
+ jobs :
8
+ build :
9
+ timeout-minutes : 20
10
+ runs-on : macos-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - name : Setup Java
14
+ uses : actions/setup-java@v4
15
+ with :
16
+ distribution : temurin
17
+ java-version : 17
18
+ - name : Setup Ruby
19
+ uses : ruby/setup-ruby@v1
20
+ with :
21
+ bundler-cache : true
22
+ - name : Install dependencies
23
+ run : |
24
+ yarn install
25
+ yarn pods
26
+ - name : Build Application
27
+ run : |
28
+ echo $SECRETS_TAR_GZ_B64 | base64 -d | tar -xz -C fastlane
29
+ bundle exec fastlane ios build
30
+ env :
31
+ SECRETS_TAR_GZ_B64 : ${{ secrets.SECRETS_TAR_GZ_B64 }}
32
+ MATCH_GIT_BASIC_AUTHORIZATION : ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ platform :ios do
21
21
22
22
desc 'Fetch certificates and provisioning profiles'
23
23
lane :certificates do
24
+ setup_ci if ENV [ 'CI' ]
24
25
match ( type : 'development' , keychain_password : ENV [ 'MATCH_PASSWORD' ] )
25
26
match ( type : 'appstore' , keychain_password : ENV [ 'MATCH_PASSWORD' ] )
26
27
end
27
28
28
29
desc 'Build the iOS application.'
29
30
lane :build do
30
- # certificates
31
-
31
+ certificates if ENV [ 'CI' ]
32
32
require "json"
33
33
package_json = JSON . parse ( File . read ( "../package.json" ) )
34
34
increment_version_number_in_xcodeproj (
You can’t perform that action at this time.
0 commit comments