Skip to content

Commit

Permalink
chore: update release
Browse files Browse the repository at this point in the history
  • Loading branch information
MCBrandenburg committed Sep 1, 2022
1 parent b32df3f commit 8c7ca26
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
name: release
name: goreleaser

on:
pull_request:
push:
tags:
- "v*"

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
-
name: Set up Go
uses: actions/setup-go@v3
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --rm-dist
env:
Expand Down

0 comments on commit 8c7ca26

Please sign in to comment.