laconicd-deprecated/.github/workflows/goreleaser.yml

28 lines
626 B
YAML
Raw Normal View History

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@v2
with:
2022-10-04 18:21:32 +00:00
go-version: 1.18
- 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
2022-10-04 18:21:32 +00:00
run: make release