Skip to content

Commit

Permalink
clean up release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cbodonnell committed Sep 15, 2023
1 parent cb20dd7 commit ecf08a7
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
name: goreleaser
name: release

on:
push:
# run only against tags
tags:
- '*'

permissions:
contents: write
# packages: write
# issues: write

jobs:
goreleaser:
Expand All @@ -22,16 +19,10 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: stable
# More assembly might be required: Docker logins, GPG, etc. It all depends
# on your needs.
- uses: goreleaser/goreleaser-action@v4
with:
# either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser
version: latest
args: release -f ./deploy/.goreleaser.yaml --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
# distribution:
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

0 comments on commit ecf08a7

Please sign in to comment.