give permissions
This commit is contained in:
parent
16a7f0f0d4
commit
111ccd8f18
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -7,6 +7,8 @@ on:
|
|||
jobs:
|
||||
setup:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write # release changes require contents write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
# - name: remove last latest release
|
||||
|
|
@ -26,13 +28,11 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release upload latest dist/
|
||||
release:
|
||||
|
||||
depends-on: setup
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
permissions:
|
||||
contents: write # release changes require contents write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue