We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a96d97e commit c27d96aCopy full SHA for c27d96a
.github/workflows/dotnetcore.yml
@@ -15,8 +15,6 @@ on:
15
jobs:
16
build:
17
runs-on: windows-latest
18
- env:
19
- NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
20
steps:
21
- uses: actions/checkout@v2
22
- name: Setup .NET Core
@@ -47,9 +45,9 @@ jobs:
47
45
if: github.ref == 'refs/heads/beta'
48
46
run: |
49
dotnet pack src/Advanced.Algorithms/Advanced.Algorithms.csproj --version-suffix "beta"
50
- dotnet nuget push **\*.nupkg -s "nuget" -k %NUGET_TOKEN%
+ dotnet nuget push **\*.nupkg -s "nuget" -k "${{ secrets.NUGET_TOKEN }}"
51
- name: Publish Stable
52
if: github.ref == 'refs/heads/stable'
53
54
dotnet pack src/Advanced.Algorithms/Advanced.Algorithms.csproj
55
0 commit comments