Skip to content

Commit

Permalink
Remove GitHub action .NET Core side by side hacks
Browse files Browse the repository at this point in the history
It is causing this error:

```
Run SET DOTNET_31_ROOT=%DOTNET_ROOT:3.1.300=2.1.806%
  SET DOTNET_31_ROOT=%DOTNET_ROOT:3.1.300=2.1.806%
  xcopy /s /y /d %DOTNET_31_ROOT% %DOTNET_ROOT%
  shell: C:\windows\system32\cmd.EXE /D /E:ON /V:OFF /S /C "CALL "{0}""
  env:
    DOTNET_ROOT: C:\Users\runneradmin\AppData\Local\Microsoft\dotnet
Cannot perform a cyclic copy
0 File(s) copied
Error: Process completed with exit code 4.
```

Moreover, this workaround should no longer be required, see actions/setup-dotnet#25
  • Loading branch information
0xced committed Jan 25, 2021
1 parent 7536785 commit 3f937c1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ jobs:
uses: actions/[email protected]
with:
dotnet-version: 3.1.300
- name: .net SxS Unix
if: matrix.os != 'windows-latest'
run: rsync -a ${DOTNET_ROOT/3.1.300/2.1.806}/* $DOTNET_ROOT/
- name: .net Sxs Windows
if: matrix.os == 'windows-latest'
run: |
SET DOTNET_31_ROOT=%DOTNET_ROOT:3.1.300=2.1.806%
xcopy /s /y /d %DOTNET_31_ROOT% %DOTNET_ROOT%
shell: cmd
- name: Build with cake
uses: cake-build/[email protected]
with:
Expand Down

0 comments on commit 3f937c1

Please sign in to comment.