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
|
2023-07-02 20:07:26 +02:00
|
|
|
uses: actions/checkout@v3
|
2020-03-22 12:43:30 +02:00
|
|
|
- name: Unshallow repo
|
|
|
|
run: git fetch --prune --unshallow
|
2020-03-20 15:27:39 +02:00
|
|
|
- name: Setup Go
|
2020-03-19 13:17:17 +02:00
|
|
|
uses: actions/setup-go@v1
|
|
|
|
with:
|
2022-03-19 00:38:49 +02:00
|
|
|
go-version: 1.18.x
|
2020-03-20 15:27:39 +02:00
|
|
|
- name: Run goreleaser
|
2020-03-19 13:17:17 +02:00
|
|
|
uses: goreleaser/goreleaser-action@v1
|
|
|
|
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
|