mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +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
|
required: false
|
||||||
jobs:
|
jobs:
|
||||||
build-go:
|
build-go:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@ -87,6 +89,8 @@ jobs:
|
|||||||
name: Throne-${{ github.sha }}-Common-${{ matrix.cross_os }}-${{ matrix.cross_arch }}
|
name: Throne-${{ github.sha }}-Common-${{ matrix.cross_os }}-${{ matrix.cross_arch }}
|
||||||
path: artifacts.tgz
|
path: artifacts.tgz
|
||||||
build-cpp:
|
build-cpp:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
needs:
|
needs:
|
||||||
- build-go
|
- build-go
|
||||||
strategy:
|
strategy:
|
||||||
@ -222,6 +226,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- build-cpp
|
- build-cpp
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
actions: read
|
||||||
env:
|
env:
|
||||||
INPUT_VERSION: ${{ github.event.inputs.tag }}
|
INPUT_VERSION: ${{ github.event.inputs.tag }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user