Skip to content

Commit

Permalink
ci: Build and generate artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
germainlefebvre4 committed Dec 30, 2024
1 parent 5c5f364 commit 5f69ddf
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: goreleaser

on:
push:
tags:
- '*'

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v5

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

- name: Upload assets
uses: actions/upload-artifact@v4
with:
name: cvwonder
path: dist/*

0 comments on commit 5f69ddf

Please sign in to comment.