summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorXiaotian Wu <[email protected]>2025-05-21 17:31:55 +0800
committerOz Tiram <[email protected]>2025-05-26 08:34:20 +0200
commita9fb14f6947da649fc7acd00a5383bb3f73435a2 (patch)
treecb1480e6f58ba14215fb929f076bca9d56655f06 /.github/workflows/release.yml
parentb78ac59b1e0d7d90e39ae89a6cb62b492e89a807 (diff)
downloadpluma-a9fb14f6947da649fc7acd00a5383bb3f73435a2.tar.bz2
pluma-a9fb14f6947da649fc7acd00a5383bb3f73435a2.tar.xz
Try to use github action
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 00000000..615534ed
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,39 @@
+name: Release Version
+on:
+ push:
+ tags:
+ - "v*.*.*"
+
+env:
+ MATE_DESKTOP_VERSION: 1.28.2
+ CACHE_PATH: /tmp/.cache
+
+jobs:
+ release:
+ name: Release New Version
+ runs-on: ubuntu-latest
+ steps:
+ - name: Repository checkout
+ uses: actions/checkout@v4
+ with:
+ submodules: "true"
+
+ - name: Install dependency packages
+ run: sudo .github/workflows/ubuntu.sh
+
+ - name: Install higher version Mate component packages
+ run: sudo .github/workflows/mate-desktop.sh ${{env.MATE_DESKTOP_VERSION}} ${{ env.CACHE_PATH }}
+
+ - name: Build the source code
+ run: .github/workflows/builds.sh autotools
+
+ - name: Install GH CLI
+ uses: dev-hanz-ops/[email protected]
+ with:
+ gh-cli-version: 2.72.0
+
+ - name: Create github release
+ run: |
+ gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} --generate-notes pluma*.tar.xz
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}