summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorXiaotian Wu <[email protected]>2025-05-22 14:28:44 +0800
committerXiaotian Wu <[email protected]>2025-05-22 15:46:21 +0800
commit3b42ded235293be105e552ec53ff86de8bb63f2f (patch)
tree237913e840386b61985cb9c876e621b1a724a8d4 /.github/workflows/release.yml
parent0ba0e897fdc93b48a94c8227c3139a100c814f42 (diff)
downloadmate-polkit-3b42ded235293be105e552ec53ff86de8bb63f2f.tar.bz2
mate-polkit-3b42ded235293be105e552ec53ff86de8bb63f2f.tar.xz
CI: release version
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fdc5345..f11411a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,6 +12,8 @@ jobs:
release:
name: Release New Version
runs-on: ubuntu-latest
+ permissions:
+ contents: write
steps:
- name: Repository checkout
uses: actions/checkout@v4
@@ -25,12 +27,13 @@ jobs:
run: .github/workflows/builds.sh meson
- name: Install GH CLI
- uses: dev-hanz-ops/[email protected]
+ uses: dev-hanz-ops/[email protected]
with:
- gh-cli-version: 2.39.1
+ gh-cli-version: 2.72.0
- name: Create github release
run: |
- gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} --generate-notes _build/meson-dist/*
+ .github/workflows/release.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ API_SECRET: ${{ secrets.API_SECRET }}