Skip to content

Commit

Permalink
fix glibc runners OWASP/wrongsecrets#615
Browse files Browse the repository at this point in the history
  • Loading branch information
commjoen committed Feb 26, 2024
1 parent a6d40d9 commit e952c78
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/compile_swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: swift --version # Swift 5.9.x
- name: Compile Swift for MacOS
run: |
echo "compiling for MacOSP"
echo "compiling for MacOS"
(cd swift && swift run -c release --arch arm64 --arch x86_64 --static-swift-stdlib)
- name: Uploading Swift executables
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -58,4 +58,21 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: executable-swift-Linux
path: target/*
path: target/*
build-windows:
runs-on: windows-latest
steps:
- uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.9.2-release
tag: 5.9.2-RELEASE
- uses: actions/checkout@v4
- name: Compile Swift for Windows
run: |
echo "compiling for Windows"
(cd swift && swift run -c release --arch arm64 --arch x86_64 --static-swift-stdlib)
- name: Uploading Swift executables
uses: actions/upload-artifact@v4
with:
name: executable-swift-MacOS
path: swift/.build/apple/Products/Release/wrongsecrets-swift

0 comments on commit e952c78

Please sign in to comment.