File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,33 +30,20 @@ jobs:
3030 with :
3131 string : ${{github.repository}}
3232 split-by : ' /'
33- - run : |
34- echo "${{github.repository}}"
35- - run : |
36- echo "${{ steps.split.outputs._0}}"
37- - run : |
38- echo "${{ steps.split.outputs._1}}"
3933
4034 - name : Checkout
4135 uses : actions/checkout@v2
4236 with :
4337 fetch-depth : 0
4438 submodules : true
4539
46- # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
47- - name : Restore Nuget Cache
48- uses : actions/cache@v1
49- id : cache
40+ # Install the .NET Core workload
41+ - name : Install .NET Core
42+ uses : actions/setup-dotnet@v1
5043 with :
51- path : ' %userprofile%\.nuget\packages'
52- key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
44+ dotnet-version : 5.0.x
5345
54- # Restore the application to populate the obj folder with RuntimeIdentifiers
55- - name : NuGet Restore
56- if : steps.cache.outputs.cache-hit != 'true'
57- run : nuget restore $env:Solution_Name
58-
59- # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
46+ # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
6047 - name : Setup MSBuild.exe
6148 uses : microsoft/setup-msbuild@v1.0.2
6249
Original file line number Diff line number Diff line change @@ -30,31 +30,18 @@ jobs:
3030 with :
3131 string : ${{github.repository}}
3232 split-by : ' /'
33- - run : |
34- echo "${{github.repository}}"
35- - run : |
36- echo "${{ steps.split.outputs._0}}"
37- - run : |
38- echo "${{ steps.split.outputs._1}}"
3933
4034 - name : Checkout
4135 uses : actions/checkout@v2
4236 with :
4337 fetch-depth : 0
4438 submodules : true
4539
46- # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
47- - name : Restore Nuget Cache
48- uses : actions/cache@v1
49- id : cache
40+ # Install the .NET Core workload
41+ - name : Install .NET Core
42+ uses : actions/setup-dotnet@v1
5043 with :
51- path : ' %userprofile%\.nuget\packages'
52- key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
53-
54- # Restore the application to populate the obj folder with RuntimeIdentifiers
55- - name : NuGet Restore
56- if : steps.cache.outputs.cache-hit != 'true'
57- run : nuget restore $env:Solution_Name
44+ dotnet-version : 5.0.x
5845
5946 # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
6047 - name : Setup MSBuild.exe
You can’t perform that action at this time.
0 commit comments