From 77b9ae7e2d50908ccf67680a0de716f87fef72aa Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Fri, 12 Sep 2025 12:50:25 -0600 Subject: [PATCH] ci: Attempting to fix TMPDIR path used by MacOS --- .github/workflows/test.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40d815f..4b65c02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,15 +41,14 @@ jobs: matrix: os: [macos-latest, windows-latest] steps: - # if your project needs OpenSSL, uncomment this to fix Windows builds. - # it's commented out by default as the install command takes 5-10m. - # - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append - # if: runner.os == 'Windows' - # - run: vcpkg install openssl:x64-windows-static-md - # if: runner.os == 'Windows' - name: Checkout uses: actions/checkout@v4 + - name: Ensure TMPDIR is valid for MacOS + if: runner.os == 'macOS' + run: | + echo "TMPDIR=$RUNNER_TEMP" >> $GITHUB_ENV + - name: Install Rust stable uses: dtolnay/rust-toolchain@stable