From a6d40d989185ac4fac76258819d7c9e78f1ba50f Mon Sep 17 00:00:00 2001 From: Jeroen Willemsen Date: Mon, 26 Feb 2024 22:42:46 +0100 Subject: [PATCH] fix glibc runners https://github.com/OWASP/wrongsecrets/issues/615 --- .github/workflows/compile_swift.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compile_swift.yml b/.github/workflows/compile_swift.yml index 6c06407..c040998 100644 --- a/.github/workflows/compile_swift.yml +++ b/.github/workflows/compile_swift.yml @@ -50,10 +50,10 @@ jobs: echo "compiling for Linux" mkdir target cd swift - docker run -v "$PWD:/sources" -w /sources --platform linux/arm64 swift:latest swift run -c release --static-swift-stdlib + docker run -v "$PWD:/sources" -w /sources --platform linux/arm64 swift:5.9.2 swift run -c release --static-swift-stdlib cp .build/aarch64-unknown-linux-gnu/release/wrongsecrets-swift ../target/wrongsecrets-swift-linux-arm - docker run -v "$PWD:/sources" -w /sources --platform linux/amd64 swift:latest swift run -c release - cp .build/x86_64-unknown-linux-gnu/release/wrongsecrets-swift ../target/wrongsecrets-swift-linux --static-swift-stdlib + docker run -v "$PWD:/sources" -w /sources --platform linux/amd64 swift:5.9.2 swift run -c release --static-swift-stdlib + cp .build/x86_64-unknown-linux-gnu/release/wrongsecrets-swift ../target/wrongsecrets-swift-linux - name: Uploading Swift executables uses: actions/upload-artifact@v4 with: