From 19ad23c9407af3cd13ce9620d7b089064d831434 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 30 Sep 2023 10:43:21 +1000 Subject: [PATCH] Attempt to fix Windows build error (cherry picked from commit c399ba1cae496ac0187a6bf95152720a0cc2c67d) --- .github/workflows/build-quick.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-quick.yml b/.github/workflows/build-quick.yml index 1aa8ece1b..9650447e0 100644 --- a/.github/workflows/build-quick.yml +++ b/.github/workflows/build-quick.yml @@ -34,8 +34,16 @@ jobs: # The action puts a relative path on the PATH 🙄 - name: Make path absolute + if: matrix.os != 'windows-latest' run: echo $(pwd)/ninja_bin >> $GITHUB_PATH + - name: Make path absolute + if: matrix.os == 'windows-latest' + run: | + $CurrentPath = (Get-Location).Path + $NewPath = "${CurrentPath}/ninja_bin" + Add-Content -Path $env:GITHUB_PATH -Value $NewPath + - name: Configure JDK uses: actions/setup-java@v3 with: