File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14- runs-on : windows-latest
14+ runs-on : windows-2022
1515 steps :
1616 - uses : actions/checkout@v4.1.1
17+
18+ - name : Install .NET Framework 4.0 Full Redistributable
19+ run : |
20+ choco install dotnet4.0 -y
21+ Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
22+ RefreshEnvironment
1723
1824 - name : Setup MSBuild
1925 uses : microsoft/setup-msbuild@v1.3.1
@@ -23,16 +29,10 @@ jobs:
2329
2430 - name : Setup NuGet
2531 uses : NuGet/setup-nuget@v1.1.1
26-
32+
2733 - name : Restore NuGet packages
2834 run : nuget restore RandomString4Net.sln
2935
30- - name : Install .NET Framework 4.0 Full Redistributable
31- run : |
32- choco install dotnet4.0 -y
33- # The following line sets up the environment variables required by msbuild
34- refreshenv
35-
3636 - name : Build RandomString4Net project for release
3737 run : msbuild RandomString4Net.sln -property:Configuration=Release -property:platform="Any CPU"
3838
You can’t perform that action at this time.
0 commit comments