Update Swift version
This commit is contained in:
@@ -16,12 +16,12 @@ jobs:
|
||||
run: sudo apt-get install clang libicu-dev
|
||||
if: runner.os == 'Linux'
|
||||
- name: Download Swift
|
||||
run: wget "https://swift.org/builds/swift-5.3.3-release/ubuntu2004/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu20.04.tar.gz"
|
||||
run: wget "https://download.swift.org/swift-5.8.1-release/ubuntu2004/swift-5.8.1-RELEASE/swift-5.8.1-RELEASE-ubuntu20.04.tar.gz"
|
||||
if: runner.os == 'Linux'
|
||||
- name: Install Swift
|
||||
run: |
|
||||
tar xzf swift-5.3.3-RELEASE-ubuntu20.04.tar.gz
|
||||
echo "$(pwd)/swift-5.3.3-RELEASE-ubuntu20.04/usr/bin" >> $GITHUB_PATH
|
||||
tar xzf swift-5.8.1-RELEASE-ubuntu20.04.tar.gz
|
||||
echo "$(pwd)/swift-5.8.1-RELEASE-ubuntu20.04/usr/bin" >> $GITHUB_PATH
|
||||
if: runner.os == 'Linux'
|
||||
- name: Build
|
||||
run: swift build -v
|
||||
|
||||
Reference in New Issue
Block a user