Skip to content

Commit 8376a0f

Browse files
committed
fix: switch to ncipollo/release-action for better permission handling
- Replace softprops/action-gh-release with ncipollo/release-action - Add allowUpdates: true to update existing releases - Automatic GITHUB_TOKEN handling - Better compatibility with repository permissions
1 parent 8ef4e1e commit 8376a0f

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,9 @@ jobs:
9696
9797
- name: Create GitHub Release
9898
if: startsWith(github.ref, 'refs/tags/')
99-
uses: softprops/action-gh-release@v2
99+
uses: ncipollo/release-action@v1
100100
with:
101-
files: ./artifacts/*.nupkg
102-
generate_release_notes: true
103-
fail_on_unmatched_files: false
104-
token: ${{ secrets.GITHUB_TOKEN }}
105-
# Note: If this fails with 422 error, go to:
106-
# Settings → Actions → General → Workflow permissions
107-
# Select "Read and write permissions"
101+
artifacts: "./artifacts/*.nupkg"
102+
generateReleaseNotes: true
103+
allowUpdates: true
104+
makeLatest: true

0 commit comments

Comments
 (0)