laconicd-deprecated/.github/workflows/goreleaser.yml
Guillermo Paoletti 19bc44a226
ci: fix goreleaser (#708)
* testing goreleaser

* removed arm64 building instructions

* CGO changed

* ci: reverted releaser changes, back to troian/golang-cross

* using snapshot to test the release ci

* testing ci code removed
2021-10-29 15:56:09 +02:00

27 lines
625 B
YAML

name: goreleaser
on:
push:
tags:
- "v*.*.*"
jobs:
goreleaser:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- 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