File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : publish nuget
2
2
3
- on :
3
+ on :
4
4
push :
5
5
tags :
6
6
- ' *'
12
12
13
13
steps :
14
14
- uses : actions/checkout@v1
15
-
15
+
16
16
- name : Setup .NET Core
17
17
uses : actions/setup-dotnet@v1
18
18
with :
21
21
- name : Install dotnet tool
22
22
run : dotnet tool install -g dotnetCampus.TagToVersion
23
23
24
- - name : Set tag to version
24
+ - name : Set tag to version
25
25
run : dotnet TagToVersion -t ${{ github.ref }}
26
26
27
27
- name : Build with dotnet
41
41
- name : Push generated package to GitHub registry
42
42
run : |
43
43
nuget push .\bin\Release\*.nupkg -Source github -SkipDuplicate
44
- nuget push .\bin\Release\*.nupkg -Source https://api.nuget.org/v3/index.json -SkipDuplicate -ApiKey ${{ secrets.NugetKey }} -NoSymbols
44
+ nuget push .\bin\Release\*.nupkg -Source https://api.nuget.org/v3/index.json -SkipDuplicate -ApiKey ${{ secrets.NugetKey }} -NoSymbols
You can’t perform that action at this time.
0 commit comments