From 63d4c270a7f97a367cac515749bec1312992a6c6 Mon Sep 17 00:00:00 2001 From: xsalefter Date: Wed, 7 Oct 2026 06:50:52 +0700 Subject: [PATCH] implements `purge-cache` input --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 725672a8..2ee988ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,14 +2,22 @@ name: ci on: push: + branches: [ master ] pull_request: workflow_dispatch: + inputs: + purge-cache: + description: 'Purge Maven dependency cache before build' + required: false + type: boolean + default: false jobs: ci: uses: killbill/gh-actions-shared/.github/workflows/ci.yml@main with: failure-upload-path: 'target/*' + purge-cache: ${{ inputs.purge-cache || false }} secrets: CLOUDSMITH_CENTRAL_PASSWORD: ${{ secrets.CLOUDSMITH_CENTRAL_PASSWORD }} CLOUDSMITH_KILLBILL_MAVEN_REPO_PASSWORD: ${{ secrets.CLOUDSMITH_KILLBILL_MAVEN_REPO_PASSWORD }}