Use NAPCAT_BUILD secret for release
Release NapCat / validate-version (push) Canceled after 0s
Release NapCat / Build-Framework (push) Canceled after 0s
Release NapCat / Build-Shell (push) Canceled after 0s
Release NapCat / Download-QNX64 (push) Canceled after 0s
Release NapCat / release-napcat (push) Canceled after 0s

Switch the release workflow to use the NAPCAT_BUILD secret instead of the default GITHUB_TOKEN. This allows the release job to run with a dedicated token (e.g., with different scopes or credentials) when creating tags, changelogs, and uploading release artifacts.
This commit is contained in:
手瓜一十雪 committed 2026-03-05 09:16:46 +08:00
1 parent 66542eda26
commit 776cc8cefd
1 file changed
+1 -1
+1 -1
View File
@@ -440,7 +440,7 @@ jobs:
with:
tag_name: ${{ github.ref_name }}
name: NapCat ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.NAPCAT_BUILD }}
body_path: CHANGELOG.md
files: |
NapCat.Shell.Windows.Node.zip