Skip to content

Commit

Permalink
Add extra command (#105)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
jandroav authored Oct 20, 2023
1 parent 950c7c6 commit eef66f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
secrets: inherit
with:
extraCommand: ${{ inputs.extraCommand }}

create-release:
name: Create Release
Expand Down

0 comments on commit eef66f8

Please sign in to comment.