Skip to content

Commit

Permalink
Edit build.yml to improve its usability
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasas993 committed Nov 18, 2024
1 parent 39297f7 commit 657e16e
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,40 @@ on:
workflow_dispatch:
inputs:
revision:
description: "Revision"
description: 'Set the value to "1" for packages in release format.
You can also add other values, such as issue numbers.
By default, it is set to "0" for development.'
type: string
default: "0"
required: false
upload:
description: "Upload ?"
type: boolean
default: false
is_stage:
description: "Is stage ?"
description: "Build package with release format.
By default: false"
type: boolean
default: false
distribution:
description: '[ "tar", "rpm", "deb" ]'
type: string
description: "Package format [tar, rpm, deb]"
type: choice
options:
- rpm
- deb
- tar
default: '[ "rpm", "deb" ]'
required: true
architecture:
description: '[ "x64", "arm64" ]'
type: string
description: "Architecture of the package [x64, arm64]"
type: choice
options:
- x64
- arm64
default: '[ "x64", "arm64" ]'
required: true
checksum:
description: "Checksum ?"
description: "Generate package checksum?"
type: boolean
default: false
id:
Expand All @@ -46,38 +59,31 @@ on:
workflow_call:
inputs:
revision:
description: "Revision"
type: string
default: "0"
required: false
upload:
description: "Upload ?"
type: boolean
default: false
is_stage:
description: "Is stage ?"
type: boolean
default: false
distribution:
description: '[ "tar", "rpm", "deb" ]'
type: string
default: '[ "rpm", "deb" ]'
architecture:
description: '[ "x64", "arm64" ]'
type: string
default: '[ "x64", "arm64" ]'
checksum:
description: "Checksum ?"
type: boolean
default: false
id:
type: string
required: false
wazuh_plugins_ref:
description: "Branch, commit or tag for the wazuh-indexer-plugins repository"
type: string
default: "master"
reporting_plugin_ref:
description: "Branch, commit or tag for the wazuh-indexer-reporting repository"
type: string
default: "master"
secrets:
Expand Down

0 comments on commit 657e16e

Please sign in to comment.