Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ledrunning authored Mar 30, 2024
1 parent 038ec2e commit 564dd5b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup .NET Framework
uses: actions/setup-dotnet@v1
with:
dotnet-version: '4.8.x'
- name: Install Chocolatey
run: |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- name: Install .NET Framework 4.8 with Chocolatey
run: choco install netfx-4.8 -y

- name: Restore NuGet packages
run: nuget restore FaceDetectionApp.sln
Expand Down

0 comments on commit 564dd5b

Please sign in to comment.