1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/.github/workflows/cd.yml

36 lines
833 B
YAML
Raw Normal View History

2020-03-19 13:17:17 +02:00
name: Continuous Delivery
on:
push:
tags:
- 'v*'
jobs:
2020-12-24 10:51:50 +02:00
goreleaser:
runs-on: ubuntu-latest
2020-03-19 13:17:17 +02:00
steps:
2020-03-20 15:27:39 +02:00
- name: Checkout code
uses: actions/checkout@v3
- name: Unshallow repo
run: git fetch --prune --unshallow
2020-03-20 15:27:39 +02:00
- name: Setup Go
uses: actions/setup-go@v4
2020-03-19 13:17:17 +02:00
with:
go-version: 1.20.x
2020-03-20 15:27:39 +02:00
- name: Run goreleaser
uses: goreleaser/goreleaser-action@v4
2023-07-21 01:03:47 +02:00
with:
distribution: goreleaser
version: v1.17.2
args: release --clean
2020-03-19 13:17:17 +02:00
env:
GITHUB_TOKEN: ${{secrets.GITHUB_API_TOKEN}}
2020-12-24 10:51:50 +02:00
homebrew:
2022-05-07 11:59:40 +02:00
runs-on: ubuntu-latest
2020-12-24 10:51:50 +02:00
steps:
- name: Bump Homebrew formula
2020-05-13 13:36:59 +02:00
uses: dawidd6/action-homebrew-bump-formula@v3
2020-03-19 13:17:17 +02:00
with:
token: ${{secrets.GITHUB_API_TOKEN}}
formula: lazygit