File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,15 @@ jobs:
3838 run : |
3939 echo "TMPDIR=${{ runner.temp }}/dotnet-tmp" >> "$GITHUB_ENV"
4040 echo "DOTNET_CLI_HOME=${{ runner.temp }}/dotnet-home" >> "$GITHUB_ENV"
41+ echo "XDG_RUNTIME_DIR=${{ runner.temp }}/xdg-runtime" >> "$GITHUB_ENV"
42+ echo "NUGET_PACKAGES=${{ runner.temp }}/nuget-packages" >> "$GITHUB_ENV"
4143
4244 - name : Clean dotnet temporary folder
4345 run : |
4446 sudo rm -rf /tmp/.dotnet
45- rm -rf "$TMPDIR/.dotnet" "$DOTNET_CLI_HOME"
46- mkdir -p "$TMPDIR/.dotnet" "$DOTNET_CLI_HOME"
47+ rm -rf "$TMPDIR/.dotnet" "$DOTNET_CLI_HOME" "$XDG_RUNTIME_DIR" "$NUGET_PACKAGES"
48+ mkdir -p "$TMPDIR/.dotnet" "$DOTNET_CLI_HOME" "$XDG_RUNTIME_DIR" "$NUGET_PACKAGES"
49+ chmod 700 "$XDG_RUNTIME_DIR"
4750
4851 - name : Install pre-commit and dependencies
4952 run : |
You can’t perform that action at this time.
0 commit comments