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
4
4
runs :
5
5
using : " composite"
6
6
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
-
14
7
- name : Setup Environment
15
8
shell : bash
16
9
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
+
17
14
export SWIFTLY_HOME_DIR="$HOME/.local/share/swiftly"
18
15
echo "SWIFTLY_HOME_DIR=$SWIFTLY_HOME_DIR" >> $GITHUB_ENV
19
16
echo "SWIFTLY_HOME_DIR=$SWIFTLY_HOME_DIR" >> $HOME/.bashrc
You can’t perform that action at this time.
0 commit comments