Skip to content

Commit

Permalink
build: Use previous Swift snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
remko committed Jun 12, 2024
1 parent 18bda76 commit 7ddc94d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ runs:

# Install a 6.0 toolchain and SDK so we can package a static Linux binary
# Used by setting TOOLCHAINS=swift in the environment
# Once the macOS runner has a Swift 6 compiler, we can remove the toolchain download.
- if: runner.os == 'macOS'
run: |
curl -L -s -o swift.pkg https://download.swift.org/swift-6.0-branch/xcode/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-11-a/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-11-a-osx.pkg
curl -L -s -o swift.pkg https://download.swift.org/swift-6.0-branch/xcode/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-08-a/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-08-a-osx.pkg
sudo installer -pkg swift.pkg -verbose -dumplog -target /
env TOOLCHAINS=swift swift sdk install https://download.swift.org/swift-6.0-branch/static-sdk/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-08-a/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-08-a_static-linux-0.0.1.artifactbundle.tar.gz
shell: bash
Expand Down

0 comments on commit 7ddc94d

Please sign in to comment.