Skip to content

Commit 3676969

Browse files
Update build.yml
1 parent 63dc9d5 commit 3676969

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,21 @@ jobs:
1717
submodules: true
1818

1919
- name: Setup .NET
20-
uses: actions/setup-dotnet@v4
20+
uses: actions/setup-dotnet@v5
2121
with:
2222
dotnet-version: 10.0.x
2323

24-
- name: Restore
25-
run: dotnet restore
26-
2724
- name: Build
28-
run: dotnet build -c Release --no-restore
25+
run: dotnet build -c Release
2926

3027
- name: Test
3128
run: dotnet test -c Release --no-build --verbosity normal
3229

3330
- name: Publish
34-
run: dotnet publish -c Release -o artifacts/publish --no-restore
31+
run: dotnet publish -c Release -o artifacts/publish
3532

3633
- name: Upload build artifacts
37-
uses: actions/upload-artifact@v4
34+
uses: actions/upload-artifact@v5
3835
with:
3936
name: build-artifacts
4037
path: artifacts/publish

0 commit comments

Comments
 (0)