-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try another method of github release
- Loading branch information
Showing
1 changed file
with
16 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 |
---|---|---|
|
@@ -34,10 +34,19 @@ jobs: | |
working-directory: ./src/Pinch.SDK | ||
run: dotnet nuget push ./bin/Release/*.nupkg | ||
|
||
- name: Publish Github Release | ||
uses: marvinpinto/[email protected] | ||
with: | ||
title: v${{ steps.get_version.outputs.VERSION }} | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
prerelease: false | ||
files: ./bin/Release/*.nupkg | ||
#- name: Publish Github Release | ||
# uses: marvinpinto/[email protected] | ||
# with: | ||
# title: v${{ steps.get_version.outputs.VERSION }} | ||
# repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
# prerelease: false | ||
# files: ./src/Pinch.SDK/bin/Release/*.nupkg | ||
|
||
- name: Create Github release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh release create "v${{ steps.get_version.outputs.VERSION }}" \ | ||
--repo="$GITHUB_REPOSITORY" \ | ||
--title="v${{ steps.get_version.outputs.VERSION }}" \ | ||
--generate-notes |