Skip to content

Commit a1ee73a

Browse files
authored
Update dotnet.yml
1 parent 443cb6d commit a1ee73a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ jobs:
1818
- name: Setup .NET
1919
uses: actions/setup-dotnet@v3
2020
with:
21-
dotnet-version: '8.0.x'
21+
dotnet-version: '8.0.x'
2222

2323
- name: Restore dependencies
2424
run: dotnet restore
2525

2626
- name: Build
27-
run: dotnet build --configuration Release /nowarn
27+
run: dotnet build --configuration Release /nowarn:CS8618;CS8600;CS8601;CS8602;CS8603;CS8604;CS8620;CS1998
2828

2929
- name: Publish
30-
run: dotnet publish --configuration Release /nowarn --output ./publish
30+
run: dotnet publish --configuration Release /nowarn:CS8618;CS8600;CS8601;CS8602;CS8603;CS8604;CS8620;CS1998 --output ./publish
3131

3232
- name: Zip artifact
3333
run: |

0 commit comments

Comments
 (0)