Skip to content

Commit d203668

Browse files
committed
trying
1 parent 7d9f9bb commit d203668

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/teslacode.common.nuget.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ jobs:
1515

1616
- name: Setup .NET (use global.json)
1717
uses: actions/setup-dotnet@v4
18-
with:
19-
source-url: https://api.nuget.org/v3/index.json
20-
env:
21-
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}
2218

2319
- name: Restore dependencies
2420
run: dotnet restore **/Teslacode.Common/Teslacode.Common.csproj --configfile nuget.config --no-cache
@@ -31,3 +27,5 @@ jobs:
3127

3228
- name: Push NuGet package
3329
run: dotnet nuget push "./artifacts/*.nupkg" --api-key $NUGET_AUTH_TOKEN --source https://api.nuget.org/v3/index.json
30+
env:
31+
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)