We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd08006 commit 9e24f6eCopy full SHA for 9e24f6e
.github/workflows/homebrew-bump-formula.yml
@@ -4,6 +4,15 @@ name: Bump Homebrew formula
4
# or API.
5
on:
6
workflow_dispatch:
7
+ # Inputs the workflow accepts.
8
+ inputs:
9
+ version:
10
+ # Friendly description to be shown in the UI instead of 'name'
11
+ description: 'Version number'
12
+ # Default value if no value is explicitly provided
13
+ default: 'v1.0.0'
14
+ # Input has to be provided for the workflow to run
15
+ required: true
16
17
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
18
jobs:
@@ -24,3 +33,4 @@ jobs:
24
33
tap: SpectoLabs/homebrew-tap
25
34
# Formula name, required
26
35
formula: Hoverfly
36
+ tag: ${{ github.event.inputs.version }}
0 commit comments