File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 15
15
jobs :
16
16
build :
17
17
runs-on : windows-latest
18
- env :
19
- NUGET_TOKEN : ${{ secrets.NUGET_TOKEN }}
20
18
steps :
21
19
- uses : actions/checkout@v2
22
20
- name : Setup .NET Core
47
45
if : github.ref == 'refs/heads/beta'
48
46
run : |
49
47
dotnet pack src/Advanced.Algorithms/Advanced.Algorithms.csproj --version-suffix "beta"
50
- dotnet nuget push **\*.nupkg -s "nuget" -k % NUGET_TOKEN%
48
+ dotnet nuget push **\*.nupkg -s "nuget" -k "${{ secrets. NUGET_TOKEN }}"
51
49
- name : Publish Stable
52
50
if : github.ref == 'refs/heads/stable'
53
51
run : |
54
52
dotnet pack src/Advanced.Algorithms/Advanced.Algorithms.csproj
55
- dotnet nuget push **\*.nupkg -s "nuget" -k % NUGET_TOKEN%
53
+ dotnet nuget push **\*.nupkg -s "nuget" -k "${{ secrets. NUGET_TOKEN }}"
You can’t perform that action at this time.
0 commit comments