-
Notifications
You must be signed in to change notification settings - Fork 208
35 lines (32 loc) · 1.19 KB
/
homebrew-bump-formula.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Bump Homebrew formula
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
version:
# Friendly description to be shown in the UI instead of 'name'
description: 'Version number'
# Default value if no value is explicitly provided
default: 'v1.0.0'
# Input has to be provided for the workflow to run
required: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
run:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Update Homebrew formula
uses: dawidd6/[email protected]
with:
# Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
token: ${{ secrets.HOME_BREW_PAT }}
no_fork: true
tap: SpectoLabs/homebrew-tap
# Formula name, required
formula: Hoverfly
tag: ${{ github.event.inputs.version }}