diff options
| author | Oz Tiram <[email protected]> | 2025-12-23 19:51:39 +0100 |
|---|---|---|
| committer | Luke from DC <[email protected]> | 2025-12-24 06:27:23 +0000 |
| commit | f6670976acc29786331e98743598e3323de4dc55 (patch) | |
| tree | 55040b53f7209ae6327fbb94de4a5d023655b6f9 /.github | |
| parent | 9575268dade7a5db8974fc093031439eebab8b9f (diff) | |
| download | atril-f6670976acc29786331e98743598e3323de4dc55.tar.bz2 atril-f6670976acc29786331e98743598e3323de4dc55.tar.xz | |
ci: add option to clean ccache
Signed-off-by: Oz Tiram <[email protected]>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/builds.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 65b9bc9c..ba8b6ae8 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -8,6 +8,12 @@ on: branches: - master workflow_dispatch: + inputs: + CLEAN_CCACHE: + description: 'Clean ccache before build' + required: false + default: 'false' + # cancel already running builds of the same branch or pull request concurrency: @@ -91,7 +97,11 @@ jobs: with: path: ${{ env.CACHE_PATH }} key: ${{ env.DISTRO }}-build-mate-desktop-${{env.MATE_DESKTOP_VERSION}} - - name: Built and install mate-desktop from source + - name: Optionally force ccache cleanup + if: ${{ github.event.inputs.CLEAN_CCACHE == 'true' }} + run: | + ccache -C + - name: Build and install mate-desktop from source run: .github/workflows/mate-desktop.sh ${{env.MATE_DESKTOP_VERSION}} ${{ env.CACHE_PATH }} # INFO: M-C-C depends mate-desktop 1.27.1+, install finished. |
