Skip to content

Commit

Permalink
Add ID input to workflows (#229)
Browse files Browse the repository at this point in the history
* Added id input

* Changed name to run-name
  • Loading branch information
rauldpm authored and AlexRuiz7 committed Aug 20, 2024
1 parent 0de2fc7 commit 01363c4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build_single.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build packages (single)
run-name: Build packages (single) ${{ inputs.id }}

# This workflow runs when any of the following occur:
# - Run from another worklow of GH API
Expand Down Expand Up @@ -26,6 +26,11 @@ on:
description: "Package architecture"
type: string
default: amd64
id:
description: "ID used to identify the workflow uniquely."
type: string
required: false

workflow_dispatch:
inputs:
revision:
Expand Down Expand Up @@ -54,6 +59,10 @@ on:
- amd64
- x86_64
default: amd64
id:
description: "ID used to identify the workflow uniquely."
type: string
required: false

jobs:
call-build-workflow:
Expand Down

0 comments on commit 01363c4

Please sign in to comment.