File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
.github/actions/install-swift Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,13 @@ description: Installs the Swift specified by a .swift-version file
44runs :
55 using : " composite"
66 steps :
7- # - name: "Cache: Swift"
8- # id: cache-swift
9- # uses: actions/cache@v4
10- # with:
11- # path: "$HOME/.local/share/swiftly"
12- # key: swift-${{ hashFiles('.swift-version') }}
13-
147 - name : Setup Environment
158 shell : bash
169 run : |
10+ export SWIFTLY_TOOLCHAINS_DIR="$HOME/.local/share/swiftly/toolchains"
11+ echo "SWIFTLY_TOOLCHAINS_DIR=$SWIFTLY_TOOLCHAINS_DIR" >> $GITHUB_ENV
12+ echo "SWIFTLY_TOOLCHAINS_DIR=$SWIFTLY_TOOLCHAINS_DIR" >> $HOME/.bashrc
13+
1714 export SWIFTLY_HOME_DIR="$HOME/.local/share/swiftly"
1815 echo "SWIFTLY_HOME_DIR=$SWIFTLY_HOME_DIR" >> $GITHUB_ENV
1916 echo "SWIFTLY_HOME_DIR=$SWIFTLY_HOME_DIR" >> $HOME/.bashrc
You can’t perform that action at this time.
0 commit comments