Skip to content

Commit db7ac96

Browse files
committed
fix: 添加 contents: write 权限以支持 Release 资产上传
1 parent 52395e7 commit db7ac96

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/desktop-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ env:
1717
jobs:
1818
build:
1919
runs-on: ${{ matrix.config.os }}
20+
permissions:
21+
contents: write
2022
strategy:
2123
fail-fast: false
2224
matrix:

.github/workflows/release-android.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ env:
1717
jobs:
1818
build:
1919
runs-on: ubuntu-latest
20+
permissions:
21+
contents: write
2022

2123
steps:
2224
- name: Checkout repository

.github/workflows/release-ios.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ env:
1717
jobs:
1818
build:
1919
runs-on: macos-latest
20+
permissions:
21+
contents: write
2022

2123
steps:
2224
- name: Checkout repository

0 commit comments

Comments
 (0)