File tree Expand file tree Collapse file tree 3 files changed +45
-6
lines changed Expand file tree Collapse file tree 3 files changed +45
-6
lines changed Original file line number Diff line number Diff line change 1212 build-ios :
1313 runs-on : macos-latest
1414 name : Build Tabris.js Hello World iOS
15+ strategy :
16+ matrix :
17+ build_type : [release, development]
1518 steps :
1619
1720 - name : Checkout
4649 chmod 0600 gha_eclipsesource_match-certificates
4750 ssh-add gha_eclipsesource_match-certificates
4851
49- fastlane match appstore --readonly --app_identifier com.eclipsesource.hello.world
52+ if [[ "${{ matrix.build_type }}" -eq "release" ]]; then
53+ fastlane match appstore --readonly --app_identifier com.eclipsesource.hello.world
54+ else
55+ fastlane match development --readonly --app_identifier com.eclipsesource.*
56+ fi
5057
5158 ssh-add -D
5259 rm gha_eclipsesource_match-certificates
6370 source ../gha_build-ios_env.sh
6471 export BUILD_NUMBER="$(date +%y%m%d%H%M).2"
6572 echo BUILD_NUMBER $BUILD_NUMBER
66- tabris build ios --release --device --verbose
73+
74+ if [[ "${{ matrix.build_type }}" -eq "release" ]]; then
75+ tabris build ios --release --device --verbose
76+ else
77+ tabris build ios --debug --device --verbose
78+ fi
6779
6880 - name : AppStore Upload
81+ if : ${{ matrix.build_type == 'release' }}
6982 run : |
7083 source gha_build-ios_env.sh
7184 xcrun altool --upload-app --type ios \
Original file line number Diff line number Diff line change 1212 build-ios :
1313 runs-on : macos-latest
1414 name : Build Tabris.js Hello World iOS
15+ strategy :
16+ matrix :
17+ build_type : [release, development]
1518 steps :
1619
1720 - name : Checkout
4649 chmod 0600 gha_eclipsesource_match-certificates
4750 ssh-add gha_eclipsesource_match-certificates
4851
49- fastlane match appstore --readonly --app_identifier com.eclipsesource.hello.world
52+ if [[ "${{ matrix.build_type }}" -eq "release" ]]; then
53+ fastlane match appstore --readonly --app_identifier com.eclipsesource.hello.world
54+ else
55+ fastlane match development --readonly --app_identifier com.eclipsesource.*
56+ fi
5057
5158 ssh-add -D
5259 rm gha_eclipsesource_match-certificates
6370 source ../gha_build-ios_env.sh
6471 export BUILD_NUMBER="$(date +%y%m%d%H%M).3"
6572 echo BUILD_NUMBER $BUILD_NUMBER
66- tabris build ios --release --device --verbose
73+
74+ if [[ "${{ matrix.build_type }}" -eq "release" ]]; then
75+ tabris build ios --release --device --verbose
76+ else
77+ tabris build ios --debug --device --verbose
78+ fi
6779
6880 - name : AppStore Upload
81+ if : ${{ matrix.build_type == 'release' }}
6982 run : |
7083 source gha_build-ios_env.sh
7184 xcrun altool --upload-app --type ios \
Original file line number Diff line number Diff line change 1212 build-ios :
1313 runs-on : macos-latest
1414 name : Build Tabris.js Hello World iOS
15+ strategy :
16+ matrix :
17+ build_type : [release, development]
1518 steps :
1619
1720 - name : Checkout
4649 chmod 0600 gha_eclipsesource_match-certificates
4750 ssh-add gha_eclipsesource_match-certificates
4851
49- fastlane match appstore --readonly --app_identifier com.eclipsesource.hello.world
52+ if [[ "${{ matrix.build_type }}" -eq "release" ]]; then
53+ fastlane match appstore --readonly --app_identifier com.eclipsesource.hello.world
54+ else
55+ fastlane match development --readonly --app_identifier com.eclipsesource.*
56+ fi
5057
5158 ssh-add -D
5259 rm gha_eclipsesource_match-certificates
6370 source ../gha_build-ios_env.sh
6471 export BUILD_NUMBER="$(date +%y%m%d%H%M).0"
6572 echo BUILD_NUMBER $BUILD_NUMBER
66- tabris build ios --release --device --verbose
73+
74+ if [[ "${{ matrix.build_type }}" -eq "release" ]]; then
75+ tabris build ios --release --device --verbose
76+ else
77+ tabris build ios --debug --device --verbose
78+ fi
6779
6880 - name : AppStore Upload
81+ if : ${{ matrix.build_type == 'release' }}
6982 run : |
7083 source gha_build-ios_env.sh
7184 xcrun altool --upload-app --type ios \
You can’t perform that action at this time.
0 commit comments