From dfc302ae9aee3a8ddb8f08218d7598b8bd3c270c Mon Sep 17 00:00:00 2001 From: Lucas Girouard-Stranks <519592+lithiumtoast@users.noreply.github.com> Date: Sun, 6 Aug 2023 16:29:02 -0400 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2db803..d2e22cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,10 +75,10 @@ jobs: run: dotnet nuget push "./nupkg/**/*.nupkg" --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key $NUGET_ACCESS_TOKEN - name: "Create tag and GitHub release" - uses: ncipollo/release-action@v1 - if: github.event_name == 'schedule' || github.event.inputs.pre-release == 'false' + uses: softprops/action-gh-release@v1 + # if: github.event_name == 'schedule' || github.event.inputs.pre-release == 'false' with: generateReleaseNotes: true - makeLatest: true - prerelease: false - tag: "v${{ steps.set-version.outputs.VERSION }}" + makeLatest: "{{ github.event.inputs.pre-release == 'false' }}" + prerelease: "{{ github.event.inputs.pre-release == 'true' }}" + tag_name: "v${{ steps.set-version.outputs.VERSION }}"