Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Jun 17, 2024
1 parent 831bad7 commit 5efaa0e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 5efaa0e

Please sign in to comment.