From 5efaa0e3e67d992fc302ecd6f4aae90ae2f3f172 Mon Sep 17 00:00:00 2001 From: Patrick Pircher Date: Fri, 14 Jun 2024 14:37:10 +0200 Subject: [PATCH] fix windows --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dad669186..1a4e4ed02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,15 +49,9 @@ jobs: - uses: ./.github/actions/setup with: use_lockfile: false - - name: setup windows tmp dir + - name: Work around https://github.com/actions/runner-images/issues/712 if: runner.os == 'Windows' - working-directory: ${{ matrix.dir }} - run: - $currentPath=(Get-Item .).FullName; - $tmpPath = Join-Path $currentPath "tmp"; - echo "TMP=$tmpPath" >> "$GITHUB_ENV"; - echo "TEMP=$tmpPath" >> "$GITHUB_ENV"; - mkdir "tmp"; + run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV - name: suite run: ${{ matrix.command }} working-directory: ${{ matrix.dir }}