Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/actions/install-swift/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ description: Installs the Swift specified by a .swift-version file
runs:
using: "composite"
steps:
# - name: "Cache: Swift"
# id: cache-swift
# uses: actions/cache@v4
# with:
# path: "$HOME/.local/share/swiftly"
# key: swift-${{ hashFiles('.swift-version') }}

- name: Setup Environment
shell: bash
run: |
export SWIFTLY_TOOLCHAINS_DIR="$HOME/.local/share/swiftly/toolchains"
echo "SWIFTLY_TOOLCHAINS_DIR=$SWIFTLY_TOOLCHAINS_DIR" >> $GITHUB_ENV
echo "SWIFTLY_TOOLCHAINS_DIR=$SWIFTLY_TOOLCHAINS_DIR" >> $HOME/.bashrc

export SWIFTLY_HOME_DIR="$HOME/.local/share/swiftly"
echo "SWIFTLY_HOME_DIR=$SWIFTLY_HOME_DIR" >> $GITHUB_ENV
echo "SWIFTLY_HOME_DIR=$SWIFTLY_HOME_DIR" >> $HOME/.bashrc
Expand Down
Loading