Skip to content

Commit 49fc60e

Browse files
authored
Merge pull request #890 from ahoppen/publish-release-fixes
Bugfixes for the publish release workflow
2 parents 36d00f0 + 4db71db commit 49fc60e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish_release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
matrix:
100100
release: [true, false]
101101
with:
102+
enable_windows_docker: false # Dockerless Windows is 5-10 minutes faster than Docker on Windows
102103
linux_pre_build_command: |
103104
git config --global --add safe.directory "$(realpath .)"
104105
git config --local user.name 'swift-ci'
@@ -116,8 +117,8 @@ jobs:
116117
# fatal: empty ident name (for <>) not allowed
117118
cmd /c "type $env:TEMP\patch.diff | git am || (exit /b 1)"
118119
# We require that releases of swift-format build without warnings
119-
linux_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' }}
120-
windows_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' }}
120+
linux_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' || '' }}
121+
windows_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' || '' }}
121122
create_tag:
122123
name: Create Tag
123124
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)