Skip to content

ci: Build and generate artifacts #1

ci: Build and generate artifacts

ci: Build and generate artifacts #1

Workflow file for this run

---
name: goreleaser
on:
push:
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
- name: Upload assets
uses: actions/upload-artifact@v2
with:
name: myapp
path: dist/*