File tree Expand file tree Collapse file tree 9 files changed +18
-18
lines changed
actions/prepare-ios-build Expand file tree Collapse file tree 9 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 5252 - name : ci/install-pods-dependencies
5353 shell : bash
5454 env :
55- INTUNE_ENABLED : ${{ inputs.intune-enabled == 'true' && '1' || '0' }}
55+ INTUNE_ENABLED : ${{ inputs.intune-enabled }}
5656 run : |
5757 echo "::group::install-pods-dependencies"
5858 echo "INTUNE_ENABLED=$INTUNE_ENABLED"
Original file line number Diff line number Diff line change 1111env :
1212 NODE_VERSION : 22.14.0
1313 TERM : xterm
14- INTUNE_ENABLED : 1
14+ INTUNE_ENABLED : ' true '
1515
1616jobs :
1717 test :
3434 - name : ci/prepare-ios-build
3535 uses : ./.github/actions/prepare-ios-build
3636 with :
37- intune-enabled : ' true '
37+ intune-enabled : ${{ env.INTUNE_ENABLED }}
3838 intune-ssh-private-key : ${{ secrets.MM_MOBILE_INTUNE_DEPLOY_KEY }}
3939
4040 - name : ci/build-ios-simulator
7070 - name : ci/prepare-ios-build
7171 uses : ./.github/actions/prepare-ios-build
7272 with :
73- intune-enabled : ' true '
73+ intune-enabled : ${{ env.INTUNE_ENABLED }}
7474 intune-ssh-private-key : ${{ secrets.MM_MOBILE_INTUNE_DEPLOY_KEY }}
7575
7676 - name : ci/build-and-deploy-ios-beta
Original file line number Diff line number Diff line change 1111env :
1212 NODE_VERSION : 22.14.0
1313 TERM : xterm
14- INTUNE_ENABLED : 1
14+ INTUNE_ENABLED : ' true '
1515
1616jobs :
1717 test :
3939 - name : ci/prepare-ios-build
4040 uses : ./.github/actions/prepare-ios-build
4141 with :
42- intune-enabled : ' true '
42+ intune-enabled : ${{ env.INTUNE_ENABLED }}
4343 intune-ssh-private-key : ${{ secrets.MM_MOBILE_INTUNE_DEPLOY_KEY }}
4444
4545 - name : ci/build-and-deploy-ios-release
8282 - name : ci/prepare-ios-build
8383 uses : ./.github/actions/prepare-ios-build
8484 with :
85- intune-enabled : ' true '
85+ intune-enabled : ${{ env.INTUNE_ENABLED }}
8686 intune-ssh-private-key : ${{ secrets.MM_MOBILE_INTUNE_DEPLOY_KEY }}
8787
8888 - name : ci/build-ios-simulator
Original file line number Diff line number Diff line change 88env :
99 NODE_VERSION : 22.14.0
1010 TERM : xterm
11- INTUNE_ENABLED : 1
11+ INTUNE_ENABLED : ' true '
1212
1313jobs :
1414 test :
4141 - name : ci/prepare-ios-build
4242 uses : ./.github/actions/prepare-ios-build
4343 with :
44- intune-enabled : ' true '
44+ intune-enabled : ${{ env.INTUNE_ENABLED }}
4545 intune-ssh-private-key : ${{ secrets.MM_MOBILE_INTUNE_DEPLOY_KEY }}
4646
4747 - name : ci/build-ios-pr
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ concurrency:
1515 cancel-in-progress : true
1616
1717env :
18- INTUNE_ENABLED : 1
18+ INTUNE_ENABLED : ' true '
1919
2020jobs :
2121 update-initial-status-ios :
5959 - name : Prepare iOS Build
6060 uses : ./.github/actions/prepare-ios-build
6161 with :
62- intune-enabled : ' true '
62+ intune-enabled : ${{ env.INTUNE_ENABLED }}
6363 intune-ssh-private-key : ${{ secrets.MM_MOBILE_INTUNE_DEPLOY_KEY }}
6464
6565 - name : Build iOS Simulator
Original file line number Diff line number Diff line change 66 - release-*
77
88env :
9- INTUNE_ENABLED : 1
9+ INTUNE_ENABLED : ' true '
1010
1111jobs :
1212 update-initial-status-ios :
4646 - name : Prepare iOS Build
4747 uses : ./.github/actions/prepare-ios-build
4848 with :
49- intune-enabled : ' true '
49+ intune-enabled : ${{ env.INTUNE_ENABLED }}
5050 intune-ssh-private-key : ${{ secrets.MM_MOBILE_INTUNE_DEPLOY_KEY }}
5151
5252 - name : Build iOS Simulator
Original file line number Diff line number Diff line change 55 - cron : " 0 0 * * 4,5" # Wednesday and Thursday midnight
66
77env :
8- INTUNE_ENABLED : 1
8+ INTUNE_ENABLED : ' true '
99
1010jobs :
1111 update-initial-status-ios :
4545 - name : Prepare iOS Build
4646 uses : ./.github/actions/prepare-ios-build
4747 with :
48- intune-enabled : ' true '
48+ intune-enabled : ${{ env.INTUNE_ENABLED }}
4949 intune-ssh-private-key : ${{ secrets.MM_MOBILE_INTUNE_DEPLOY_KEY }}
5050
5151 - name : Build iOS Simulator
Original file line number Diff line number Diff line change 1515 RELEASE_TAG : ${{ inputs.tag || github.ref_name }}
1616 SNYK_VERSION : " 1.1297.2"
1717 CYCLONEDX_VERSION : " v0.27.2"
18- INTUNE_ENABLED : 1
18+ INTUNE_ENABLED : ' true '
1919
2020jobs :
2121 test :
4242 - name : ci/prepare-ios-build
4343 uses : ./.github/actions/prepare-ios-build
4444 with :
45- intune-enabled : ' true '
45+ intune-enabled : ${{ env.INTUNE_ENABLED }}
4646 intune-ssh-private-key : ${{ secrets.MM_MOBILE_INTUNE_DEPLOY_KEY }}
4747
4848 - name : ci/build-ios-unsigned
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ setup_permissions([
2626] )
2727
2828# Conditional Intune MAM support
29- intune_enabled = ENV [ 'INTUNE_ENABLED' ] == '1'
29+ intune_enabled = ENV [ 'INTUNE_ENABLED' ] == 'true' || ENV [ 'INTUNE_ENABLED' ] == ' 1'
3030
3131if intune_enabled
3232 puts "🔐 Intune MAM features enabled"
You can’t perform that action at this time.
0 commit comments