Skip to content

Commit b587c86

Browse files
committed
Refines release creation process
* Updates the trigger condition to create releases exclusively for version tags. * Migrates to an alternative GitHub Release action. * Adjusts configuration parameters to align with the new action's requirements. * Explicitly provides the GitHub token for authentication.
1 parent 8376a0f commit b587c86

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ jobs:
9595
--skip-duplicate
9696
9797
- name: Create GitHub Release
98-
if: startsWith(github.ref, 'refs/tags/')
99-
uses: ncipollo/release-action@v1
98+
if: startsWith(github.ref, 'refs/tags/v')
99+
uses: softprops/action-gh-release@v1
100100
with:
101-
artifacts: "./artifacts/*.nupkg"
102-
generateReleaseNotes: true
103-
allowUpdates: true
104-
makeLatest: true
101+
files: ./artifacts/*.nupkg
102+
generate_release_notes: true
103+
env:
104+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)