diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 5a84bc7..f7b826d 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -40,9 +40,17 @@ jobs: macos: runs-on: macos-15 name: macOS - env: - DEVELOPER_DIR: /Applications/Xcode_16.2.app/Contents/Developer steps: + - name: Install Swift + uses: tayloraswift/swift-install-action@master + with: + swift-prefix: "swift-6.0.3-release/xcode/swift-6.0.3-RELEASE" + swift-id: "swift-6.0.3-RELEASE" + + - name: Select Swift version + run: | + echo TOOLCHAINS=$(plutil -extract CFBundleIdentifier raw /Library/Developer/Toolchains/swift-6.0.3-RELEASE.xctoolchain/Info.plist) >> $GITHUB_ENV + - name: Checkout repository uses: actions/checkout@v3 diff --git a/.gitignore b/.gitignore index 5f95113..7d12791 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /.build /.build.* +/.swiftpm /.vscode /node_modules