Skip to content

Commit cd2304a

Browse files
does dotnet nuget push accept wildcards?
1 parent ea4584a commit cd2304a

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ jobs:
1616
uses: actions/setup-dotnet@v1
1717
# with:
1818
# dotnet-version: 3.1.101
19-
- name: Build and Pack
19+
- name: Build
2020
run: dotnet build --configuration Release
21-
- run: dotnet --version
22-
- run: dotnet nuget --version
23-
- run: dotnet nuget push --help
24-
- uses: actions/upload-artifact@v1
25-
with:
26-
name: OsmApiClient.0.0.1-beta.4.nupkg
27-
path: /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/OsmApiClient.*.nupkg
21+
- name: Pack
22+
run: dotnet pack OsmApiClient.csproj -o arti
23+
# - uses: actions/upload-artifact@v1
24+
# with:
25+
# name: OsmApiClient.0.0.1-beta.4.nupkg
26+
# path: /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/*.nupkg
2827
- 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
28+
run: dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NugetApiKey}} /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/*.nupkg
3029

0 commit comments

Comments
 (0)