Skip to content

Commit

Permalink
Added support to install .net framework 4.0 before building in gitlab…
Browse files Browse the repository at this point in the history
… actions
  • Loading branch information
ljnath authored Nov 15, 2023
1 parent c0edb3e commit f1d2ec3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dotnet-CI-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
- name: Restore NuGet packages
run: nuget restore RandomString4Net.sln

- name: Install .NET Framework 4.0 Developer Pack
run: |
choco install dotnet4.0-targetpack -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"

Expand Down

0 comments on commit f1d2ec3

Please sign in to comment.