.github/workflows/build_single.yml #2
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
name: Build packages (single) | |
# This workflow runs when any of the following occur: | |
# - Run manually | |
on: | |
workflow_dispatch: | |
inputs: | |
revision: | |
description: "Revision" | |
type: string | |
default: "0" | |
checksum: | |
description: "Checksum ?" | |
type: boolean | |
default: false | |
is_stage: | |
description: "Is stage ?" | |
type: boolean | |
default: false | |
system: | |
description: "Package OS" | |
type: choice | |
options: | |
- rpm | |
- deb | |
default: deb | |
architecture: | |
description: "Package architecture" | |
type: choice | |
options: | |
- amd64 | |
- x86_64 | |
default: amd64 | |
jobs: | |
call-build-workflow: | |
uses: ./.github/workflows/build.yml | |
with: | |
revision: ${{ inputs.revision }} | |
checksum: ${{ inputs.checksum }} | |
is_stage: ${{ inputs.is_stage }} | |
distribution: '[ "${{ inputs.system }}" ]' | |
upload: true | |
# Architecture is always 'x64', which is the default value in ./build.yml | |
# It is an input just for convenience and standardisation. | |
secrets: inherit |