diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2020-03-06 01:04:21 +0100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-08 20:13:16 +1100 |
commit | 1ea2825a54ce202144114e5dcf4a97282203ee67 (patch) | |
tree | 128c495f133dfa4c26605914d039d369c9c3d37f /.github | |
parent | 19146d61b1d16f93242d803652c1ed3c4dc24689 (diff) |
add homebrew bump formula workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/homebrew.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml new file mode 100644 index 000000000..f0927790d --- /dev/null +++ b/.github/workflows/homebrew.yml @@ -0,0 +1,20 @@ +name: Bump Homebrew formula + +on: + push: + tags: + - 'v*' + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Get tag + id: tag + run: echo "::set-output name=tag::${GITHUB_REF##*/}" + - name: Bump Homebrew formula + uses: dawidd6/action-homebrew-bump-formula@v1.1.0 + with: + token: ${{secrets.GITHUB_API_TOKEN}} + formula: lazygit + url: "https://github.com/${{github.repository}}/archive/${{steps.tag.outputs.tag}}.tar.gz" |