Skip to content

Commit a065cf5

Browse files
authored
Update dotnet.yml
1 parent dd98947 commit a065cf5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Diff for: .github/workflows/dotnet.yml

+19
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,22 @@ jobs:
2626
run: dotnet build --no-restore
2727
- name: Test
2828
run: dotnet test --no-build --verbosity normal
29+
publish:
30+
name: publish-nuget
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v2
34+
35+
- name: Setup dotnet
36+
uses: actions/setup-dotnet@v1
37+
with:
38+
dotnet-version: 6.0.*
39+
40+
# Publish
41+
- name: publish on version change
42+
id: publish_nuget
43+
uses: SpringHgui/[email protected]
44+
with:
45+
# Filepath of the project to be packaged, relative to root of repository
46+
PROJECT_FILE_PATH: HashedWheelTimer/WheelTimer.csproj
47+
NUGET_KEY: ${{secrets.NUGET_API_KEY}}

0 commit comments

Comments
 (0)