Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lithiumtoast committed Aug 6, 2023
1 parent e92f598 commit dfc302a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit dfc302a

Please sign in to comment.