From eef66f8f6b3c6ff91de959622858781ddb2e6392 Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Date: Fri, 20 Oct 2023 11:09:56 +0200 Subject: [PATCH] Add extra command (#105) * add-extra-command * chore(create-release.yml): add support for running an extra command before attaching the artifact The `create-release.yml` workflow file has been modified to include a new input variable `extraCommand`. This variable allows users to specify an extra command to be executed before attaching the artifact. The `extraCommand` input is optional and has a default value of an empty string. This change provides flexibility for users to customize the workflow by running additional commands as needed before creating a release. --- .github/workflows/create-release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index dfe28c1a..b6ac5477 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -2,11 +2,19 @@ name: Create Release on: workflow_call: + inputs: + extraCommand: + description: 'Specify it if you want to run an extra command before attaching the artifact' + required: false + default: '' + type: string jobs: sonar: uses: liquibase/build-logic/.github/workflows/sonar-push.yml@v0.5.2 secrets: inherit + with: + extraCommand: ${{ inputs.extraCommand }} create-release: name: Create Release