Skip to content

Commit

Permalink
fix(ci): bumping goreleaser version
Browse files Browse the repository at this point in the history
  • Loading branch information
djnnvx committed Dec 6, 2023
1 parent a2cc760 commit 15ab6e5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 40 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
name: Publish github release

on:
create:
push:
tags: ["v*"]


permissions:
contents: write

jobs:
generate-artifacts:
name: Generate cross-platform builds
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19

- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
workdir: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 0 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...

builds:
- env:
Expand Down
30 changes: 0 additions & 30 deletions .goreleaser.yml

This file was deleted.

0 comments on commit 15ab6e5

Please sign in to comment.