Manual build #1
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 | |
description: Source code reference (branch, tag or commit SHA) | |
default: 4.10.0 | |
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: 'reports-dashboards' | |
artifact_path: './wazuh-dashboards-reporting/build' | |
secrets: inherit |