Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit a26316a

Browse files
authored
dotnet restore on publish
1 parent 4d90a5c commit a26316a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,8 @@ jobs:
2929
dotnet-version: '6.0.x'
3030
include-prerelease: true
3131

32-
- name: dotnet restore
33-
run: dotnet restore
34-
3532
- name: dotnet publish
36-
run: dotnet publish --no-restore -c ${{ matrix.configuration }} -r ${{ matrix.runtime }} -o ${{ env.OUTPUT_DIR }} --self-contained
33+
run: dotnet publish -c ${{ matrix.configuration }} -r ${{ matrix.runtime }} -o ${{ env.OUTPUT_DIR }} --self-contained
3734

3835
- name: Upload build artifacts
3936
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)