Update Swift version

This commit is contained in:
Arthur Guiot
2023-06-20 14:10:53 +02:00
committed by GitHub
parent 7674e201fa
commit 2c29b9f2da
+3 -3
View File
@@ -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