Skip to content

Commit 3c1335c

Browse files
committed
wheels: fix swiftly invocation
1 parent f475e17 commit 3c1335c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ jobs:
8989
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
9090
CIBW_BEFORE_ALL: |
9191
if ! command -v swift > /dev/null; then
92-
curl -O "https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz" && \
93-
tar zxf "swiftly-$(uname -m).tar.gz" && \
94-
./swiftly init --quiet-shell-followup && \
95-
. ${SWIFTLY_HOME_DIR:-~/.local/share/swiftly}/env.sh && \
96-
hash -r
92+
mkdir swiftly
93+
curl -L "https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz" | tar -xzC swiftly
94+
./swiftly init --assume-yes --no-modify-profile --skip-install --quiet-shell-followup
95+
. "/home/${USER}/.local/share/swiftly/env.sh"
96+
swiftly install --assume-yes --use --post-install-file 5.8
9797
fi
9898
CIBW_ENVIRONMENT: ""
9999
CIBW_ENVIRONMENT_MACOS: >

0 commit comments

Comments
 (0)