mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2026-11-24 03:37:47 +08:00
Merge pull request #173 from real-zony/fix/release-token
fix(ci): 使用内置 token 修复 Release 发布鉴权
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -137,6 +137,8 @@ jobs:
|
|||||||
# Release Job - 合并所有平台的构建产物
|
# Release Job - 合并所有平台的构建产物
|
||||||
release:
|
release:
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
needs: [build-linux-windows, build-macos, build-desktop]
|
needs: [build-linux-windows, build-macos, build-desktop]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -161,7 +163,7 @@ jobs:
|
|||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "./TempFiles/*.zip"
|
artifacts: "./TempFiles/*.zip"
|
||||||
token: ${{ secrets.GITHUBACTIONS }}
|
token: ${{ github.token }}
|
||||||
tag: ZonyLrcToolsX_Alpha.${{ needs.build-linux-windows.outputs.version }}
|
tag: ZonyLrcToolsX_Alpha.${{ needs.build-linux-windows.outputs.version }}
|
||||||
commit: dev
|
commit: dev
|
||||||
bodyFile: ./versions/release.md
|
bodyFile: ./versions/release.md
|
||||||
@@ -15,3 +15,4 @@ Fixed Bugs:
|
|||||||
- [#172] Correct KGG/KGM detection, QMC2 map decoding, unpadded ekey decoding and concurrent output handling.
|
- [#172] Correct KGG/KGM detection, QMC2 map decoding, unpadded ekey decoding and concurrent output handling.
|
||||||
- [#172] Keep decrypted key databases in memory; prevent canceled downloads from publishing partial files.
|
- [#172] Keep decrypted key databases in memory; prevent canceled downloads from publishing partial files.
|
||||||
- [#172] Fix QR login races, stale scan results, desktop task threading and trimmed session serialization.
|
- [#172] Fix QR login races, stale scan results, desktop task threading and trimmed session serialization.
|
||||||
|
- Fix release authentication by using the built-in GitHub token with `contents: write` permission scoped to the release job.
|
||||||
Reference in new issue
Block a user