Deploy formulae.brew.sh changes with Actions
Try using GitHub Actions to replace https://github.com/Homebrew/homebrew-core/blob/master/.travis.yml
This commit is contained in:
parent
b958b56256
commit
f6cf53416d
1 changed files with 15 additions and 0 deletions
15
.github/formulae.brew.sh.workflow
vendored
Normal file
15
.github/formulae.brew.sh.workflow
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
workflow "formulae.brew.sh generation" {
|
||||||
|
on = "push"
|
||||||
|
resolves = ["Filters for GitHub Actions"]
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Master" {
|
||||||
|
uses = "actions/bin/filter@master"
|
||||||
|
args = "branch master"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Shell" {
|
||||||
|
needs = "Master"
|
||||||
|
uses = "actions/bin/sh@master"
|
||||||
|
args = ["git clone --depth=1 https://github.com/Homebrew/brew "$HOMEBREW_REPOSITORY""]
|
||||||
|
}
|
Loading…
Reference in a new issue