Skip to content

Commit

Permalink
correctly load env
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Dec 10, 2023
1 parent 02f7663 commit 26b3a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ jobs:

# TODO: How to pass this directly into cibuildwheel (CIBW_BEFORE_ALL_WINDOWS)?
- name: Setup Windows environment variables
if: runner.os == 'windows-latest'
if: matrix.os == 'windows-latest'
shell: bash
run: |
echo "CMAKE_ARGS=-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded" >> $GITHUB_ENV
- name: Setup MacOS environment variables
if: runner.os == 'macos-latest'
if: matrix.os == 'macos-latest'
run: |
echo "CMAKE_ARGS=${{ matrix.platform_id == 'macosx_x86_64' && 'x86_64' || 'arm64' }}" >> $GITHUB_ENV
Expand Down

0 comments on commit 26b3a14

Please sign in to comment.