summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-04-25 15:35:41 +0200
committermbkma <[email protected]>2026-05-04 18:58:50 +0200
commit558c76ab8801bfbf627e93c1d006191cc7bc8224 (patch)
tree98f80076a038a8aed53ba079fefeb51361bf08ff
parentdf0867e557190d623cdaf634a8c12dd7c9e63b4f (diff)
downloadmate-utils-master.tar.bz2
mate-utils-master.tar.xz
ci: fix release.ymlHEADv1.28.1master
-rw-r--r--.github/workflows/release.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e21befef..c1737de2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -4,6 +4,10 @@ on:
tags:
- "v*.*.*"
+env:
+ MATE_DESKTOP_VERSION: 1.28.2
+ CACHE_PATH: /tmp/.cache
+
jobs:
release:
name: Release New Version
@@ -17,6 +21,17 @@ jobs:
- name: Install dependency packages
run: sudo .github/workflows/ubuntu.sh
+ # INFO: mate-utils depends mate-desktop 1.27.1+, so we should install it from source.
+ - name: Cache mate-desktop binary packages
+ uses: actions/cache@v5
+ id: cache-mate-desktop
+ with:
+ path: ${{ env.CACHE_PATH }}
+ key: ubuntu-build-mate-desktop-${{env.MATE_DESKTOP_VERSION}}
+ - name: Built and install mate-desktop from source
+ run: sudo .github/workflows/mate-desktop.sh ${{env.MATE_DESKTOP_VERSION}} ${{ env.CACHE_PATH }}
+ # INFO: mate-utils depends mate-desktop 1.27.1+, install finished.
+
- name: Build the source code
run: .github/workflows/builds.sh autotools
- name: Create github release