Skip to content

Commit 5481873

Browse files
authored
Update and rename nugetPackage.yml to nugetPublish.yml
1 parent e2854c4 commit 5481873

File tree

2 files changed

+22
-35
lines changed

2 files changed

+22
-35
lines changed

.github/workflows/nugetPackage.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/nugetPublish.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Nuget Publish
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-20.04
8+
name: Nuget Publish
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v1
12+
13+
- name: Setup .Net
14+
uses: actions/setup-dotnet@v1
15+
16+
- name: Nuget Package And Upload
17+
uses: csharp-opensource/publish-nuget@v1
18+
with:
19+
releaseVersion: ${{ github.event.release.tag_name }}
20+
repoUrl: ${{ github.server_url }}/${{ github.repository }}
21+
nugetToken: ${{secrets.NUGET_AUTH_TOKEN}}
22+
nugetSource: https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)