Manual build #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow builds a production-ready package from the given Git reference. | |
# Any branch, tag or commit SHA existing in the origin can be used. | |
# | |
# This workflow is based on the `dev-environment` workflow. | |
name: Manual build | |
on: | |
workflow_call: | |
inputs: | |
reference: | |
required: true | |
type: string | |
default: master | |
description: Source code reference (branch, tag or commit SHA) | |
workflow_dispatch: | |
inputs: | |
reference: | |
required: true | |
type: string | |
default: master | |
description: Source code reference (branch, tag or commit SHA) | |
jobs: | |
# Build an app package from the given source code reference. | |
build: | |
name: Build app package | |
uses: ./.github/workflows/dev-environment.yml | |
with: | |
reference: ${{ inputs.reference }} | |
command: 'yarn build' | |
artifact_name: 'wazuh-dashboard-plugins' | |
secrets: inherit |