Skip to content

Commit 48503a4

Browse files
Remove unnecessary conditions from workflow files
1 parent 522cf5a commit 48503a4

File tree

3 files changed

+9
-21
lines changed

3 files changed

+9
-21
lines changed

.github/workflows/build-2.x-nightly-ios-app.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Build Tabris.js Hello World iOS
1515
strategy:
1616
matrix:
17-
build_type: [release, development]
17+
build_type: [release, debug]
1818
steps:
1919

2020
- name: Checkout
@@ -49,7 +49,7 @@ jobs:
4949
chmod 0600 gha_eclipsesource_match-certificates
5050
ssh-add gha_eclipsesource_match-certificates
5151
52-
if [[ "${{ matrix.build_type }}" -eq "release" ]]; then
52+
if [[ "${{ matrix.build_type }}" == "release" ]]; then
5353
fastlane match appstore --readonly --app_identifier com.eclipsesource.hello.world
5454
else
5555
fastlane match development --readonly --app_identifier com.eclipsesource.*
@@ -71,11 +71,7 @@ jobs:
7171
export BUILD_NUMBER="$(date +%y%m%d%H%M).2"
7272
echo BUILD_NUMBER $BUILD_NUMBER
7373
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
74+
tabris build ios --${{ matrix.build_type }} --device --verbose
7975
8076
- name: AppStore Upload
8177
if: ${{ matrix.build_type == 'release' }}

.github/workflows/build-3.x-nightly-ios-app.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Build Tabris.js Hello World iOS
1515
strategy:
1616
matrix:
17-
build_type: [release, development]
17+
build_type: [release, debug]
1818
steps:
1919

2020
- name: Checkout
@@ -49,7 +49,7 @@ jobs:
4949
chmod 0600 gha_eclipsesource_match-certificates
5050
ssh-add gha_eclipsesource_match-certificates
5151
52-
if [[ "${{ matrix.build_type }}" -eq "release" ]]; then
52+
if [[ "${{ matrix.build_type }}" == "release" ]]; then
5353
fastlane match appstore --readonly --app_identifier com.eclipsesource.hello.world
5454
else
5555
fastlane match development --readonly --app_identifier com.eclipsesource.*
@@ -71,11 +71,7 @@ jobs:
7171
export BUILD_NUMBER="$(date +%y%m%d%H%M).3"
7272
echo BUILD_NUMBER $BUILD_NUMBER
7373
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
74+
tabris build ios --${{ matrix.build_type }} --device --verbose
7975
8076
- name: AppStore Upload
8177
if: ${{ matrix.build_type == 'release' }}

.github/workflows/build-master-ios-app.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Build Tabris.js Hello World iOS
1515
strategy:
1616
matrix:
17-
build_type: [release, development]
17+
build_type: [release, debug]
1818
steps:
1919

2020
- name: Checkout
@@ -49,7 +49,7 @@ jobs:
4949
chmod 0600 gha_eclipsesource_match-certificates
5050
ssh-add gha_eclipsesource_match-certificates
5151
52-
if [[ "${{ matrix.build_type }}" -eq "release" ]]; then
52+
if [[ "${{ matrix.build_type }}" == "release" ]]; then
5353
fastlane match appstore --readonly --app_identifier com.eclipsesource.hello.world
5454
else
5555
fastlane match development --readonly --app_identifier com.eclipsesource.*
@@ -71,11 +71,7 @@ jobs:
7171
export BUILD_NUMBER="$(date +%y%m%d%H%M).0"
7272
echo BUILD_NUMBER $BUILD_NUMBER
7373
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
74+
tabris build ios --${{ matrix.build_type }} --device --verbose
7975
8076
- name: AppStore Upload
8177
if: ${{ matrix.build_type == 'release' }}

0 commit comments

Comments
 (0)