Skip to content

Commit 9e422c1

Browse files
committed
build formatter in release
1 parent 5a3997e commit 9e422c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
run: |
1717
SWIFTFORMAT_VERSION=0.49.4
1818
git clone --depth 1 --branch "$SWIFTFORMAT_VERSION" "https://github.com/nicklockwood/SwiftFormat" "$HOME/SwiftFormat"
19-
swift build --package-path "$HOME/SwiftFormat" --product swiftformat
20-
export PATH=$PATH:"$(swift build --package-path "$HOME/SwiftFormat" --show-bin-path)"
19+
swift build -c release --package-path "$HOME/SwiftFormat" --product swiftformat
20+
export PATH=$PATH:"$(swift build -c release --package-path "$HOME/SwiftFormat" --show-bin-path)"
2121
./scripts/sanity.sh
2222
unit-tests:
2323
strategy:

0 commit comments

Comments
 (0)