File tree Expand file tree Collapse file tree 3 files changed +8
-19
lines changed
Expand file tree Collapse file tree 3 files changed +8
-19
lines changed Original file line number Diff line number Diff line change 1- name : Common steps
1+ name : Set Environment
22
33inputs :
44 xcode-version :
1717 - name : Check xcodebuild version
1818 run : xcodebuild -version
1919 shell : bash
20- - name : Check xcode embedded SDKs
21- run : xcodebuild -showsdks
22- shell : bash
23- - name : Show buildable schemes
24- working-directory : ./
25- run : xcodebuild -list
26- shell : bash
27- - name : Show eligible build destinations
28- working-directory : ./
29- run : swift build -c debug
30- shell : bash
31-
Original file line number Diff line number Diff line change 99 - ' **'
1010
1111env :
12- SCHEME : ' EC2macConnector'
1312 XCODE_VERSION : ' 14.3.0'
1413
1514jobs :
1615 build :
16+ name : Build for debug
1717 runs-on : ' macos-13'
1818 strategy :
1919 fail-fast : false
2020 steps :
2121 - name : Code Checkout
2222 uses : actions/checkout@v3
23- - name : Common steps
24- uses : ./.github/actions/common_steps
23+ - name : Set Environment
24+ uses : ./.github/actions/set_environment
2525 with :
2626 xcode-version : ${{ env.XCODE_VERSION }}
2727 - name : Build
2828 working-directory : ./
29- run : xcodebuild build -scheme ${{ env.SCHEME }} -destination "platform=macOS"
29+ run : swift build -c debug
Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14+ name : Build for release and publish release
1415 runs-on : ' macos-13'
1516 strategy :
1617 fail-fast : false
1718 steps :
1819 - name : Code Checkout
1920 uses : actions/checkout@v3
20- - name : Common steps
21- uses : ./.github/actions/common_steps
21+ - name : Set Environment
22+ uses : ./.github/actions/set_environment
2223 with :
2324 xcode-version : ${{ env.XCODE_VERSION }}
2425 - name : Build products for release
You can’t perform that action at this time.
0 commit comments