Skip to content

Commit f07a1d5

Browse files
committed
wip
1 parent 1493a4d commit f07a1d5

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/actions/install-swift/action.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: 'Install Swift'
2-
description: 'Installs the Swift specified by a .swift-version file'
1+
name: Install Swift
2+
description: Installs the Swift specified by a .swift-version file
33

44
runs:
55
using: "composite"
66
steps:
7-
- name: Install apt dependencies
7+
- name: Install `apt` Dependencies
88
shell: bash
99
run: |
1010
SUDO=$(if [[ $EUID -ne 0 ]]; then echo sudo; fi)
@@ -28,13 +28,17 @@ runs:
2828
2929
curl -O "https://download.swift.org/swiftly/linux/swiftly-$UNAME.tar.gz"
3030
tar zxf "swiftly-$UNAME.tar.gz"
31-
./swiftly init --skip-install --assume-yes --quiet-shell-followup
31+
./swiftly init \
32+
--skip-install \
33+
--assume-yes \
34+
--quiet-shell-followup \
35+
--no-modify-profile
3236
3337
echo "PATH=$SWIFTLY_BIN_DIR:$PATH" >> $GITHUB_ENV
3438
echo "PATH=\$SWIFTLY_BIN_DIR:\$PATH" >> $HOME/.bashrc
3539
3640
- name: Install Swift
3741
shell: bash
3842
run: |
39-
swiftly install --post-install-file /dev/null
43+
swiftly install --post-install-file ./out.sh
4044
swift --version

0 commit comments

Comments
 (0)