laconicd-deprecated/.github/workflows/goreleaser.yml
Federico Kunze Küllmer d5e82f1a5b
build: update actions (#454)
* build: update actions

* .sarif

* rm snyk action
2021-08-18 08:31:37 +00:00

27 lines
627 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.16.4
- 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