1
0
mirror of https://github.com/osrg/gobgp.git synced 2024-05-11 05:55:10 +00:00
Files
osrg-gobgp/.github/workflows/release.yml
Yuya Kusakabe 97ef13fb78 ci: update actions
- actions/checkout@v3
- actions/setup-go@v3
- golangci/golangci-lint-action@v3
- actions/upload-artifact@v3
- actions/download-artifact@v3
- goreleaser/goreleaser-action@v3
2022-10-13 17:09:32 +09:00

31 lines
631 B
YAML

name: release
on:
push:
tags:
- v[0-9]+.*
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}