Skip to content

Commit

Permalink
pwsh needs env: for vars
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Mar 13, 2024
1 parent 8b48b1f commit f537231
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/intel-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ jobs:
CXX: ${{ steps.setup-fortran.outputs.cxx }}
run: |
mkdir "${{ runner.workspace }}/build"
Set-Location -Path "${{ runner.workspace }}\\build"
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
Set-Location -Path "${{ runner.workspace }}\build"
cmake -C $env:GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
-G Ninja \
-DCMAKE_BUILD_TYPE=${{ inputs.build_mode }} \
-DHDF4_BUILD_FORTRAN=OFF \
-DJPEG_USE_LOCALCONTENT=OFF \
-DLIBAEC_USE_LOCALCONTENT=OFF \
-DZLIB_USE_LOCALCONTENT=OFF \
$GITHUB_WORKSPACE
$env:GITHUB_WORKSPACE
- name: CMake Build (Windows)
shell: pwsh
Expand Down

0 comments on commit f537231

Please sign in to comment.