Skip to content

Commit

Permalink
use msbuild restore?
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanRynne committed May 8, 2024
1 parent dc73ade commit 14b1888
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,17 @@ on:
jobs:
build:
runs-on: windows-latest
env:
DOTNET_NUGET_SIGNATURE_VERIFICATION: false # fix long restore by adding security risk? Dodgy... We should be building on ubunty
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup MsBuild
uses: microsoft/setup-msbuild@v2
- uses: nuget/setup-nuget@v2
with:
nuget-version: "5.x"
- name: NuGet Restore
run: nuget restore All.sln
# - name: Restore tools
# run: dotnet tool restore
# - name: Code formatting check
# run: dotnet csharpier --check .
# - name: Restore projects
# run: dotnet restore DUI3-DX.slnf
run: msbuild DUI3-DX.slnf -t:Restore
- name: Build
run: msbuild DUI3-DX.slnf /p:Configuration=Release /p:IsDesktopBuild=false
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
path: dist/zip/
path: dist/zip/*

0 comments on commit 14b1888

Please sign in to comment.