mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-18 20:50:09 +08:00
Revert "remove permission control in workflow"
This reverts commit e9c44e0d07.
This commit is contained in:
parent
fb09632b69
commit
66e9cfa20b
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -10,6 +10,8 @@ on:
|
||||
required: false
|
||||
jobs:
|
||||
build-go:
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
@ -87,6 +89,8 @@ jobs:
|
||||
name: Throne-${{ github.sha }}-Common-${{ matrix.cross_os }}-${{ matrix.cross_arch }}
|
||||
path: artifacts.tgz
|
||||
build-cpp:
|
||||
permissions:
|
||||
contents: read
|
||||
needs:
|
||||
- build-go
|
||||
strategy:
|
||||
@ -222,6 +226,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-cpp
|
||||
permissions:
|
||||
contents: write
|
||||
actions: read
|
||||
env:
|
||||
INPUT_VERSION: ${{ github.event.inputs.tag }}
|
||||
steps:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user