File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
.github/actions/install-swift Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 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
44runs :
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)
1111 $SUDO apt-get -qq update
12- $SUDO apt-get -qq -y install curl gpg binutils git unzip gnupg2 \
13- libc6-dev libcurl4-openssl-dev libedit2 libgcc-13-dev libpython3-dev \
14- libstdc++-13-dev libxml2-dev libncurses-dev libz3-dev pkg-config \
15- tzdata zlib1g-dev
12+ $SUDO apt-get -qq -y install curl gpg
1613 env :
1714 DEBIAN_FRONTEND : noninteractive
1815
@@ -31,13 +28,17 @@ runs:
3128
3229 curl -O "https://download.swift.org/swiftly/linux/swiftly-$UNAME.tar.gz"
3330 tar zxf "swiftly-$UNAME.tar.gz"
34- ./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
3536
3637 echo "PATH=$SWIFTLY_BIN_DIR:$PATH" >> $GITHUB_ENV
3738 echo "PATH=\$SWIFTLY_BIN_DIR:\$PATH" >> $HOME/.bashrc
3839
3940 - name : Install Swift
4041 shell : bash
4142 run : |
42- swiftly install
43+ swiftly install --post-install-file ./out.sh
4344 swift --version
You can’t perform that action at this time.
0 commit comments