Skip to content

Commit 39e89d4

Browse files
committed
test
1 parent 148e2a9 commit 39e89d4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pre-commit-format.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
env:
2121
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
2222
DOTNET_CLI_TELEMETRY_OPTOUT: 1
23-
TMPDIR: ${{ runner.temp }}
24-
DOTNET_CLI_HOME: ${{ runner.temp }}/dotnet-home
2523

2624
steps:
2725
- uses: actions/checkout@v4
@@ -36,6 +34,11 @@ jobs:
3634
with:
3735
python-version: "3.10"
3836

37+
- name: Configure temp directories
38+
run: |
39+
echo "TMPDIR=${{ runner.temp }}/dotnet-tmp" >> "$GITHUB_ENV"
40+
echo "DOTNET_CLI_HOME=${{ runner.temp }}/dotnet-home" >> "$GITHUB_ENV"
41+
3942
- name: Clean dotnet temporary folder
4043
run: |
4144
sudo rm -rf /tmp/.dotnet

0 commit comments

Comments
 (0)