Skip to content

Commit

Permalink
Merge pull request #890 from ahoppen/publish-release-fixes
Browse files Browse the repository at this point in the history
Bugfixes for the publish release workflow
  • Loading branch information
ahoppen authored Dec 5, 2024
2 parents 36d00f0 + 4db71db commit 49fc60e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
matrix:
release: [true, false]
with:
enable_windows_docker: false # Dockerless Windows is 5-10 minutes faster than Docker on Windows
linux_pre_build_command: |
git config --global --add safe.directory "$(realpath .)"
git config --local user.name 'swift-ci'
Expand All @@ -116,8 +117,8 @@ jobs:
# fatal: empty ident name (for <>) not allowed
cmd /c "type $env:TEMP\patch.diff | git am || (exit /b 1)"
# We require that releases of swift-format build without warnings
linux_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' }}
windows_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' }}
linux_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' || '' }}
windows_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' || '' }}
create_tag:
name: Create Tag
runs-on: ubuntu-latest
Expand Down

0 comments on commit 49fc60e

Please sign in to comment.