From 2f9b727419a29974dae1bb64045caddd099c73d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Tue, 9 Apr 2024 16:51:09 +0200 Subject: [PATCH] Add on.workflow_call to build_single.yml workflow (#200) Allows invocation usin the GH API --- .github/workflows/build_single.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/build_single.yml b/.github/workflows/build_single.yml index 669a987bdfd27..ba4d60b3fa951 100644 --- a/.github/workflows/build_single.yml +++ b/.github/workflows/build_single.yml @@ -1,8 +1,37 @@ name: Build packages (single) # This workflow runs when any of the following occur: +# - Run from another worklow of GH API # - Run manually on: + workflow_call: + 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 workflow_dispatch: inputs: revision: