Skip to content

Commit

Permalink
use build project
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed May 10, 2024
1 parent 89d0036 commit 8bf7362
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
- name: Restore projects
run: dotnet restore --locked-mode DUI3-DX.slnf
- name: Restore
run: dotnet run --project Build/Build.csproj -- restore
- name: Build
run: msbuild DUI3-DX.slnf /p:RestorePackages=false /p:Configuration=Release /p:IsDesktopBuild=false -v:m
run: dotnet run --project Build/Build.csproj -- build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ IEnumerable<string> GetFiles(string d)

Target("default", DependsOn(BUILD), () => Console.WriteLine("Done!"));

await RunTargetsAndExitAsync(args);
await RunTargetsAndExitAsync(args).ConfigureAwait(true);

0 comments on commit 8bf7362

Please sign in to comment.