Skip to content

Commit

Permalink
Add on.workflow_call to build_single.yml workflow (#200)
Browse files Browse the repository at this point in the history
Allows invocation usin the GH API
  • Loading branch information
AlexRuiz7 committed Jun 28, 2024
1 parent 2ce044c commit 2f9b727
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build_single.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 2f9b727

Please sign in to comment.