Skip to content

Commit c7ff41a

Browse files
Updated workflow to exclude step to select Xcode version when running on Linux
1 parent 5361d2f commit c7ff41a

File tree

9 files changed

+32
-15
lines changed

9 files changed

+32
-15
lines changed

.github/workflows/carthage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232
LOGSDIR: /tmp/.half.carthage/Logs
3333

3434
steps:
35-
- uses: maxim-lobanov/setup-xcode@v1
35+
- name: Select Xcode Version
36+
uses: maxim-lobanov/setup-xcode@v1
3637
with:
3738
xcode-version: ${{ matrix.xcode }}
3839

.github/workflows/cocoapods.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
LINT_TYPE: ${{ matrix.linttype }}
3434

3535
steps:
36-
- uses: maxim-lobanov/setup-xcode@v1
36+
- name: Select Xcode Version
37+
uses: maxim-lobanov/setup-xcode@v1
3738
with:
3839
xcode-version: ${{ matrix.xcode }}
3940

.github/workflows/documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
LOGSDIR: /tmp/.half.documentation/Logs
2525

2626
steps:
27-
- uses: maxim-lobanov/setup-xcode@v1
27+
- name: Select Xcode Version
28+
uses: maxim-lobanov/setup-xcode@v1
2829
with:
2930
xcode-version: ${{ matrix.xcode }}
3031

.github/workflows/publish-cocoapods.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
1818

1919
steps:
20-
- uses: maxim-lobanov/setup-xcode@v1
20+
- name: Select Xcode Version
21+
uses: maxim-lobanov/setup-xcode@v1
2122
with:
2223
xcode-version: ${{ matrix.xcode }}
2324

.github/workflows/swift-package.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
LOGSDIR: /tmp/.half.swiftpm/Logs/Build
3131

3232
steps:
33-
- uses: maxim-lobanov/setup-xcode@v1
33+
- name: Select Xcode Version
34+
if: ${{ runner.os == 'macOS' }}
35+
uses: maxim-lobanov/setup-xcode@v1
3436
with:
3537
xcode-version: ${{ matrix.xcode }}
3638

@@ -66,7 +68,9 @@ jobs:
6668
LOGSDIR: /tmp/.half.swiftpm/Logs/Test
6769

6870
steps:
69-
- uses: maxim-lobanov/setup-xcode@v1
71+
- name: Select Xcode Version
72+
if: ${{ runner.os == 'macOS' }}
73+
uses: maxim-lobanov/setup-xcode@v1
7074
with:
7175
xcode-version: ${{ matrix.xcode }}
7276

.github/workflows/swiftlint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
runs-on: ${{ matrix.os }}
2323

2424
steps:
25-
- uses: maxim-lobanov/setup-xcode@v1
25+
- name: Select Xcode Version
26+
uses: maxim-lobanov/setup-xcode@v1
2627
with:
2728
xcode-version: ${{ matrix.xcode }}
2829

.github/workflows/upload-assets.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
TMPDIR: /tmp/.half.assets-xcframework.build
1717

1818
steps:
19-
- uses: maxim-lobanov/setup-xcode@v1
19+
- name: Select Xcode Version
20+
uses: maxim-lobanov/setup-xcode@v1
2021
with:
2122
xcode-version: ${{ matrix.xcode }}
2223

@@ -83,7 +84,8 @@ jobs:
8384
TMPDIR: /tmp/.half.assets-documentation.build
8485

8586
steps:
86-
- uses: maxim-lobanov/setup-xcode@v1
87+
- name: Select Xcode Version
88+
uses: maxim-lobanov/setup-xcode@v1
8789
with:
8890
xcode-version: ${{ matrix.xcode }}
8991

.github/workflows/xcframework.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
TMPDIR: /tmp/.half.xcframework.build
3434

3535
steps:
36-
- uses: maxim-lobanov/setup-xcode@v1
36+
- name: Select Xcode Version
37+
uses: maxim-lobanov/setup-xcode@v1
3738
with:
3839
xcode-version: ${{ matrix.xcode }}
3940

.github/workflows/xcodebuild.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
LOGSDIR: /tmp/.half.xcodebuild/iOS/Logs
3434

3535
steps:
36-
- uses: maxim-lobanov/setup-xcode@v1
36+
- name: Select Xcode Version
37+
uses: maxim-lobanov/setup-xcode@v1
3738
with:
3839
xcode-version: ${{ matrix.xcode }}
3940

@@ -80,7 +81,8 @@ jobs:
8081
LOGSDIR: /tmp/.half.xcodebuild/macCatalyst/Logs
8182

8283
steps:
83-
- uses: maxim-lobanov/setup-xcode@v1
84+
- name: Select Xcode Version
85+
uses: maxim-lobanov/setup-xcode@v1
8486
with:
8587
xcode-version: ${{ matrix.xcode }}
8688

@@ -118,7 +120,8 @@ jobs:
118120
LOGSDIR: /tmp/.half.xcodebuild/macOS/Logs
119121

120122
steps:
121-
- uses: maxim-lobanov/setup-xcode@v1
123+
- name: Select Xcode Version
124+
uses: maxim-lobanov/setup-xcode@v1
122125
with:
123126
xcode-version: ${{ matrix.xcode }}
124127

@@ -156,7 +159,8 @@ jobs:
156159
LOGSDIR: /tmp/.half.xcodebuild/tvOS/Logs
157160

158161
steps:
159-
- uses: maxim-lobanov/setup-xcode@v1
162+
- name: Select Xcode Version
163+
uses: maxim-lobanov/setup-xcode@v1
160164
with:
161165
xcode-version: ${{ matrix.xcode }}
162166

@@ -203,7 +207,8 @@ jobs:
203207
LOGSDIR: /tmp/.half.xcodebuild/watchOS/Logs
204208

205209
steps:
206-
- uses: maxim-lobanov/setup-xcode@v1
210+
- name: Select Xcode Version
211+
uses: maxim-lobanov/setup-xcode@v1
207212
with:
208213
xcode-version: ${{ matrix.xcode }}
209214

0 commit comments

Comments
 (0)