File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
.github/actions/install-swift Expand file tree Collapse file tree 1 file changed +9
-5
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)
@@ -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
You can’t perform that action at this time.
0 commit comments