Skip to content

Commit

Permalink
Update actions to use GoReleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
d0x7 authored Apr 12, 2023
1 parent 62a84a5 commit 8e153a9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: goreleaser

on:
push:
tags:
- 'v*'

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: stable
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26 changes: 0 additions & 26 deletions .github/workflows/release.yaml

This file was deleted.

0 comments on commit 8e153a9

Please sign in to comment.