From 8bb5b1607e3eee4265c9e90a6ad3915e53248112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Thu, 24 Oct 2019 00:24:37 +0200 Subject: [PATCH] Bump Homebrew formula on tagged release --- .github/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..0fb735a2 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,16 @@ +name: Release +on: + push: + tags: 'v*' + +jobs: + homebrew: + name: Bump Homebrew formula + runs-on: ubuntu-latest + steps: + - uses: mislav/bump-homebrew-formula-action@v1.4 + if: "!contains(github.ref, '-')" # skip prereleases + with: + formula-name: rbenv + env: + COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}