Skip to content

Commit 82681d8

Browse files
using dotnet to publish nuget
1 parent ceb2d51 commit 82681d8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,9 @@ jobs:
1818
dotnet-version: 2.2.108
1919
- name: Build and Pack
2020
run: dotnet build --configuration Release
21-
- name: Setup Nuget.exe
22-
uses: warrenbuckley/Setup-Nuget@v1
23-
- name: test nuget.exe
24-
run: nuget.exe -help
2521
- run: echo github.event {github.event}
2622
- name: Nuget publish
27-
shell: pwsh
28-
run: nuget.exe push -SkipDuplicate -NonInteractive -Source https://api.nuget.org/v3/index.json -ApiKey ${{secrets.NugetApiKey}} /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/OsmApiClient.0.0.1-beta.4.nupkg
23+
run: dotnet nuget push --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NugetApiKey}} /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/OsmApiClient.0.0.1-beta.4.nupkg
2924
- uses: actions/upload-artifact@v1
3025
with:
3126
name: OsmApiClient.0.0.1-beta.4.nupkg

0 commit comments

Comments
 (0)