Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc27d96a

Browse files
committed
Use environment variable directly
1 parenta96d97e commitc27d96a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎.github/workflows/dotnetcore.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ on:
1515
jobs:
1616
build:
1717
runs-on:windows-latest
18-
env:
19-
NUGET_TOKEN:${{ secrets.NUGET_TOKEN }}
2018
steps:
2119
-uses:actions/checkout@v2
2220
-name:Setup .NET Core
@@ -47,9 +45,9 @@ jobs:
4745
if:github.ref == 'refs/heads/beta'
4846
run:|
4947
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 }}"
5149
-name:Publish Stable
5250
if:github.ref == 'refs/heads/stable'
5351
run:|
5452
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 }}"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp