From 2f6a163a803b58dd96c5c321dc10b1eaf8a10474 Mon Sep 17 00:00:00 2001 From: Damian Karzon Date: Tue, 14 Nov 2023 10:27:00 +1000 Subject: [PATCH] Try another method of github release --- .github/workflows/Release_Package.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Release_Package.yml b/.github/workflows/Release_Package.yml index 269aefc..9309575 100644 --- a/.github/workflows/Release_Package.yml +++ b/.github/workflows/Release_Package.yml @@ -34,10 +34,19 @@ jobs: working-directory: ./src/Pinch.SDK run: dotnet nuget push ./bin/Release/*.nupkg - - name: Publish Github Release - uses: marvinpinto/action-automatic-releases@v1.2.1 - with: - title: v${{ steps.get_version.outputs.VERSION }} - repo_token: ${{ secrets.GITHUB_TOKEN }} - prerelease: false - files: ./bin/Release/*.nupkg \ No newline at end of file + #- name: Publish Github Release + # uses: marvinpinto/action-automatic-releases@v1.2.1 + # 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 \ No newline at end of file