@@ -21,16 +21,23 @@ jobs:
2121 build :
2222 strategy :
2323 matrix :
24- os : [macOS-11, ubuntu-latest]
24+ os : [macOS-13, ubuntu-latest]
25+ xcode : ['15.0']
2526
2627 name : Build
2728 runs-on : ${{ matrix.os }}
2829 env :
2930 LOGSDIR : /tmp/.half.swiftpm/Logs/Build
3031
3132 steps :
33+ - name : Select Xcode Version
34+ if : ${{ runner.os == 'macOS' }}
35+ uses : maxim-lobanov/setup-xcode@v1
36+ with :
37+ xcode-version : ${{ matrix.xcode }}
38+
3239 - name : Checkout Code
33- uses : actions/checkout@v2
40+ uses : actions/checkout@v4
3441
3542 - name : Setup Environment
3643 run : |
4249 swift build --verbose | tee -a "$LOGSDIR/Build.log"
4350
4451 - name : Upload Logs
45- uses : actions/upload-artifact@v2
52+ uses : actions/upload-artifact@v3
4653 if : always()
4754 with :
4855 name : BuildLogs-${{ runner.os }}
5158 test :
5259 strategy :
5360 matrix :
54- os : [macOS-11, ubuntu-latest]
61+ os : [macOS-13, ubuntu-latest]
62+ xcode : ['15.0']
5563
5664 name : Test
5765 runs-on : ${{ matrix.os }}
6068 LOGSDIR : /tmp/.half.swiftpm/Logs/Test
6169
6270 steps :
71+ - name : Select Xcode Version
72+ if : ${{ runner.os == 'macOS' }}
73+ uses : maxim-lobanov/setup-xcode@v1
74+ with :
75+ xcode-version : ${{ matrix.xcode }}
76+
6377 - name : Checkout Code
64- uses : actions/checkout@v2
78+ uses : actions/checkout@v4
6579
6680 - name : Setup Environment
6781 run : |
8599 verbose : true
86100
87101 - name : Upload Logs
88- uses : actions/upload-artifact@v2
102+ uses : actions/upload-artifact@v3
89103 if : always()
90104 with :
91105 name : TestLogs-${{ runner.os }}
0 commit comments