Skip to content

Commit

Permalink
Fix tempdir for Deno to avoid different drive issue
Browse files Browse the repository at this point in the history
On Windows the default / system temp directory is on `C:/` whild projects and all are on `D:/` - this creates issues when moving file around (like we do with Deno)
  • Loading branch information
cderv committed Jan 27, 2023
1 parent 8fe2707 commit af0ae78
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test-smokes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ jobs:
# checkout full tree
fetch-depth: 0

- name: Change temp dir to use runner one (windows)
- name: Fix temp dir to use runner one (windows)
if: runner.os == 'Windows'
run: echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV
run: |
echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV
echo "TMP=${{ runner.temp }}" >> $GITHUB_ENV
echo "TEMP=${{ runner.temp }}" >> $GITHUB_ENV
shell: bash

- name: Set up R
Expand Down

0 comments on commit af0ae78

Please sign in to comment.