This commit is contained in:
ivaquero
2026-04-18 14:21:04 +08:00
parent 7db7dad988
commit 788ca03df8
+11 -2
View File
@@ -15,6 +15,10 @@ on:
required: true required: true
default: "v1.0.0" default: "v1.0.0"
permissions:
contents: write
pull-requests: read
jobs: jobs:
build-macos: build-macos:
runs-on: macos-latest runs-on: macos-latest
@@ -191,6 +195,9 @@ jobs:
needs: [ build-macos, build-windows, build-linux ] needs: [ build-macos, build-windows, build-linux ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
permissions:
contents: read
pull-requests: read
outputs: outputs:
changelog: ${{ steps.changelog.outputs.changelog }} changelog: ${{ steps.changelog.outputs.changelog }}
version: ${{ steps.version.outputs.version }} version: ${{ steps.version.outputs.version }}
@@ -229,6 +236,9 @@ jobs:
needs: [ build-macos, build-windows, build-linux, generate-changelog ] needs: [ build-macos, build-windows, build-linux, generate-changelog ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
permissions:
contents: write
pull-requests: read
steps: steps:
- name: Download All Artifacts - name: Download All Artifacts
@@ -277,5 +287,4 @@ jobs:
draft: false draft: false
prerelease: false prerelease: false
generate_release_notes: true generate_release_notes: true
env: token: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}