Skip to content

Commit ea4584a

Browse files
remove --skip-dupicate and use wildacard for path
1 parent e60881c commit ea4584a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ jobs:
1515
- name: Setup .NET Core
1616
uses: actions/setup-dotnet@v1
1717
# with:
18-
# dotnet-version: 2.2.108
18+
# dotnet-version: 3.1.101
1919
- name: Build and Pack
2020
run: dotnet build --configuration Release
2121
- run: dotnet --version
2222
- run: dotnet nuget --version
2323
- run: dotnet nuget push --help
24-
- name: Nuget publish
25-
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
2624
- uses: actions/upload-artifact@v1
2725
with:
2826
name: OsmApiClient.0.0.1-beta.4.nupkg
29-
path: /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/OsmApiClient.0.0.1-beta.4.nupkg
27+
path: /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/OsmApiClient.*.nupkg
28+
- name: Nuget publish
29+
run: dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NugetApiKey}} /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/OsmApiClient.*.nupkg
30+

0 commit comments

Comments
 (0)