File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
.github/actions/install-swift Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1919 - name : Install Swiftly
2020 shell : bash
2121 run : |
22+ set -ex
2223 UNAME=$(uname -m)
2324 curl -O "https://download.swift.org/swiftly/linux/swiftly-$UNAME.tar.gz"
2425 tar zxf "swiftly-$UNAME.tar.gz"
@@ -35,15 +36,19 @@ runs:
3536 export PATH="$SWIFTLY_BIN_DIR:$PATH"
3637 echo "PATH=$PATH" >> $GITHUB_ENV
3738 echo "PATH=$SWIFTLY_BIN_DIR:$PATH" >> ~/.bashrc
39+ echo $HOME
3840
3941 - name : Install Swift
4042 shell : bash
4143 run : |
4244 set -ex
43- echo $SHELL
44- echo $PATH
45- cat ~/.profile
46- cat ~/.bashrc
47- cat ~/.bash_profile
45+ echo SHELL=$SHELL
46+ echo PATH=$PATH
47+ echo HOME=$HOME
48+
49+ cat $HOME/.bashrc || true
50+ cat $HOME/.profile || true
51+ cat $HOME/.bash_profile || true
52+
4853 swiftly install
4954 swift --version
You can’t perform that action at this time.
0 commit comments