Skip to content

Commit bc0bbc1

Browse files
committed
ci: Update Windows build step to use bash (for multi-line command support)
1 parent fd3dee3 commit bc0bbc1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-test-and-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ jobs:
184184
swift build --target WinUIBackend -v \
185185
-Xswiftc -emit-symbol-graph \
186186
-Xswiftc -emit-symbol-graph-dir -Xswiftc symbol-graphs
187+
shell: bash
187188

188189
- name: Upload WinUIBackend symbol graph
189190
uses: actions/upload-artifact@v4
@@ -198,6 +199,9 @@ jobs:
198199
runs-on: ${{ matrix.os }}
199200

200201
steps:
202+
# The Ubuntu image comes with Swift, but it's installed as root and DocC
203+
# doesn't like that, so we install our own copy as a user.
204+
# Related issue: https://github.com/swiftlang/swift-docc/issues/1136
201205
- name: Install Swift
202206
uses: SwiftyLab/setup-swift@latest
203207
with:

0 commit comments

Comments
 (0)