mirror of
https://github.com/ribbybibby/ssl_exporter.git
synced 2026-05-06 00:26:33 +00:00
- Don't use promu and upstream Prometheus Makefiles. I don't have a clear process for keeping them in sync with the upstream and I don't think they add much value. - Use the same ldflags in goreleaser and the Makefile - Run goreleaser from the Makefile so custom env vars can be injected - Update to go 1.14
23 lines
466 B
YAML
23 lines
466 B
YAML
name: release
|
|
|
|
on:
|
|
release:
|
|
types:
|
|
- created
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Unshallow
|
|
run: git fetch --prune --unshallow
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: 1.14.x
|
|
- name: Release with GoReleaser
|
|
run: make release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|