Skip to content

Commit

Permalink
chore: try temp workaround for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kitop committed Nov 23, 2023
1 parent 7cd8d94 commit 45896e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,13 @@ jobs:
- name: Build workspaces
run: npm run build
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
# Workaround for using temporary directory on Windows
# https://github.com/denoland/fresh/pull/471#issuecomment-1563984847
- name: Set the TMP/TEMP environment variable (Windows)
if: startsWith(matrix.os, 'windows')
run: |
echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
echo "TMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
- name: Tests
uses: nick-fields/retry@v2
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
Expand Down

0 comments on commit 45896e0

Please sign in to comment.