1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-31 22:22:14 +02:00

add homebrew bump formula workflow

This commit is contained in:
Dawid Dziurla 2020-03-06 01:04:21 +01:00 committed by Jesse Duffield
parent 19146d61b1
commit 1ea2825a54

20
.github/workflows/homebrew.yml vendored Normal file
View File

@ -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"