-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] Improve release process (#536)
- Add step to release to add NuGet package to new release
- Loading branch information
Showing
4 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -61,13 +61,16 @@ jobs: | |
shell: cmd | ||
|
||
- name: Build and Sign NuGet package | ||
# TODO: Need to keep signing_cert.snk in the repo | ||
run: | | ||
call scripts\win\build_release_nuget.bat EasyPost EasyPostNETStrongNameSigning.snk "${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }}" Release | ||
shell: cmd | ||
|
||
- name: Publish to NuGet | ||
run: make publish key=${{ secrets.NUGET_API_KEY }} | ||
|
||
# TODO: Upload artifact to previous release | ||
- name: Upload NuGet package to release | ||
uses: AButler/[email protected] | ||
with: | ||
files: "*.nupkg" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
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
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
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