-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,15 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Install .NET Framework 4.0 Full Redistributable | ||
run: | | ||
choco install dotnet4.0 -y | ||
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 | ||
RefreshEnvironment | ||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
|
@@ -23,16 +29,10 @@ jobs: | |
|
||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
|
||
- name: Restore NuGet packages | ||
run: nuget restore RandomString4Net.sln | ||
|
||
- name: Install .NET Framework 4.0 Full Redistributable | ||
run: | | ||
choco install dotnet4.0 -y | ||
# The following line sets up the environment variables required by msbuild | ||
refreshenv | ||
- name: Build RandomString4Net project for release | ||
run: msbuild RandomString4Net.sln -property:Configuration=Release -property:platform="Any CPU" | ||
|
||
|