Skip to content

Commit

Permalink
Add --graph to address dotnet/msbuild#6690 (comment)
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Van Eenwyk <joel.vaneenwyk@gmail.com>
  • Loading branch information
joelvaneenwyk committed Mar 14, 2024
1 parent cef44e4 commit 69bed2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ jobs:
- name: Restore dependencies
run: dotnet restore

# The '--graph' parameter is to address an occasional build error about files being
# used by another process the during 'GenerateRuntimeConfigurationFiles'
# task: https://github.com/dotnet/msbuild/issues/6690#issuecomment-1553272562
- name: Build
run: dotnet build -c ${{ matrix.config }} /p:Platform=x64 --no-restore --verbosity normal
run: dotnet build --graph -c ${{ matrix.config }} /p:Platform=x64 --no-restore --verbosity normal

#- name: Create the package
# id: create-package
Expand Down

0 comments on commit 69bed2e

Please sign in to comment.