ci: Attempting to fix TMPDIR path used by MacOS
This commit is contained in:
@@ -41,15 +41,14 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, windows-latest]
|
os: [macos-latest, windows-latest]
|
||||||
steps:
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Install Rust stable
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user