From 4c5260ae679f590fbd4e0de578b337f292cec2aa Mon Sep 17 00:00:00 2001 From: Russell Greene Date: Thu, 21 Mar 2024 00:06:40 -0600 Subject: [PATCH] hopefully fix env --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ba1699d..3a42e7f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -103,8 +103,8 @@ jobs: if: matrix.build == 'linux32' - name: add clang to path run: $Env:PATH += ";C:\msys64\mingw64\bin" - if: matrix.build == 'windows-clang' - - run : echo ${{ matrix.env }} >> $GITHUB_ENV + if: startsWith(matrix.build, 'windows-clang') + - run : echo ${{ matrix.env }} | xargs -I{} -n1 -- bash -c "echo {} >> $GITHUB_ENV" shell: bash - uses: Swatinem/rust-cache@v2 - run: cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }}