Skip to content

Commit 1c19fe1

Browse files
AlexRuiz7Jorgesnchz
authored andcommitted
Add on.workflow_call to build_single.yml workflow (#200)
Allows invocation usin the GH API
1 parent d7eba7e commit 1c19fe1

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build_single.yml

+29
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,37 @@
11
name: Build packages (single)
22

33
# This workflow runs when any of the following occur:
4+
# - Run from another worklow of GH API
45
# - Run manually
56
on:
7+
workflow_call:
8+
inputs:
9+
revision:
10+
description: "Revision"
11+
type: string
12+
default: "0"
13+
checksum:
14+
description: "Checksum ?"
15+
type: boolean
16+
default: false
17+
is_stage:
18+
description: "Is stage ?"
19+
type: boolean
20+
default: false
21+
system:
22+
description: "Package OS"
23+
type: choice
24+
options:
25+
- rpm
26+
- deb
27+
default: deb
28+
architecture:
29+
description: "Package architecture"
30+
type: choice
31+
options:
32+
- amd64
33+
- x86_64
34+
default: amd64
635
workflow_dispatch:
736
inputs:
837
revision:

0 commit comments

Comments
 (0)