Skip to content

Commit 5fc28a6

Browse files
committed
Fix issue in publish_release pipeline testing swift-format in debug configuration
1 parent 989d0cc commit 5fc28a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ jobs:
116116
# fatal: empty ident name (for <>) not allowed
117117
cmd /c "type $env:TEMP\patch.diff | git am || (exit /b 1)"
118118
# 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' }}
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' || '' }}
121121
create_tag:
122122
name: Create Tag
123123
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)