forked from cerc-io/laconicd-deprecated
27ade5d731
* deps: Go 1.18 * changelog * update
28 lines
654 B
YAML
28 lines
654 B
YAML
name: goreleaser
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*.*.*"
|
|
jobs:
|
|
goreleaser:
|
|
runs-on: ubuntu-latest
|
|
environment: release
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: true
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.18
|
|
check-latest: true
|
|
- name: release dry run
|
|
run: make release-dry-run
|
|
- name: setup release environment
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |-
|
|
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env
|
|
- name: release publish
|
|
run: make release |