1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-24 05:36:19 +02:00

36 lines
833 B
YAML
Raw Normal View History

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