Skip to content

Commit

Permalink
Try another method of github release
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarzon committed Nov 14, 2023
1 parent 85515f5 commit 2f6a163
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/Release_Package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2f6a163

Please sign in to comment.