-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.0.5 - change nuget publish method
- Loading branch information
1 parent
d135ec1
commit 270c937
Showing
3 changed files
with
11 additions
and
49 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,10 +34,15 @@ jobs: | |
- name: Build | ||
run: dotnet build --configuration Release --no-restore | ||
|
||
- name: Publish to NuGet | ||
# - name: Publish to NuGet | ||
|
||
uses: brandedoutcast/[email protected] | ||
with: | ||
PROJECT_FILE_PATH: ${{env.PROJECT}} | ||
NUGET_KEY: ${{secrets.NUGET_API_KEY}} | ||
# uses: brandedoutcast/[email protected] | ||
# with: | ||
# PROJECT_FILE_PATH: ${{env.PROJECT}} | ||
# NUGET_KEY: ${{secrets.NUGET_API_KEY}} | ||
|
||
- name: Pack | ||
run: dotnet pack --configuration Release --output nupkgs | ||
|
||
- name: Publish to NuGet | ||
run: dotnet nuget push nupkgs/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters