Skip to content

Commit 421eab2

Browse files
committed
update workflow
1 parent 8319c73 commit 421eab2

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish NuGet (on [build] commit)
1+
name: Build project (on [build] commit)
22

33
on:
44
push:
@@ -31,18 +31,3 @@ jobs:
3131
run: |
3232
dotnet build ./SwDevtools.slnx -c Release --no-restore || `
3333
dotnet build ./SwDevtools.csproj -c Release --no-restore
34-
35-
- name: Pack NuGet (Release)
36-
shell: pwsh
37-
run: |
38-
dotnet pack ./SwDevtools.csproj `
39-
-c Release `
40-
-o artifacts `
41-
--no-build
42-
43-
- name: Push package to NuGet.org
44-
run: |
45-
dotnet nuget push "artifacts/*.nupkg" `
46-
--source https://api.nuget.org/v3/index.json `
47-
--api-key ${{ secrets.NUGET_API_KEY }} `
48-
--skip-duplicate

0 commit comments

Comments
 (0)