File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,19 @@ jobs:
2727 if : ${{ startsWith( matrix.os, 'macos' ) }}
2828 shell : bash
2929 run : |
30- mkdir $SWIFTLY_HOME_DIR
31- cd $SWIFTLY_HOME_DIR
30+ mkdir -p $SWIFTLY_HOME_DIR/install
31+ cd $SWIFTLY_HOME_DIR/install
3232 curl -O $SWIFTLY_DL/darwin/swiftly.pkg
3333 installer -pkg swiftly.pkg -target CurrentUserHomeDirectory
34+ ln $HOME/usr/local/bin/swiftly swiftly
3435
3536 - name : Install/Pre/Linux
3637 if : ${{ startsWith( matrix.os, 'ubuntu' ) }}
3738 shell : bash
3839 run : |
3940 sudo apt-get -y install libcurl4-openssl-dev
40- mkdir $SWIFTLY_HOME_DIR
41- cd $SWIFTLY_HOME_DIR
41+ mkdir -p $SWIFTLY_HOME_DIR/install
42+ cd $SWIFTLY_HOME_DIR/install
4243 curl -O $SWIFTLY_DL/linux/swiftly-$(uname -m).tar.gz
4344 tar vzxf swiftly-$(uname -m).tar.gz
4445
4748 shell : bash
4849 run : |
4950 cd $SWIFTLY_HOME_DIR
50- $SWIFTLY_HOME_DIR/swiftly $SWIFTLY_INIT
51- $SWIFTLY_HOME_DIR/swiftly $SWIFTLY_INSTALL ${{ matrix.swift-version }}
51+ ls -laF ./install
52+ $SWIFTLY_HOME_DIR/install/swiftly $SWIFTLY_INIT
53+ $SWIFTLY_HOME_DIR/bin/swiftly $SWIFTLY_INSTALL ${{ matrix.swift-version }}
5254 if [ -f $SWIFTLY_HOME_DIR/post-install.sh ]; then
5355 . $SWIFTLY_HOME_DIR/post-install.sh
5456 fi
You can’t perform that action at this time.
0 commit comments