Skip to content

Commit

Permalink
wip(releasing via goreleaser):
Browse files Browse the repository at this point in the history
  • Loading branch information
stvnksslr committed Oct 1, 2024
1 parent 7350f99 commit 04e6132
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
on:
# Indicates I want to run this workflow on all branches, PR, and tags
push:
branches: ["**"]
tags: ["*"]
branches: [ "**" ]
tags: [ "*" ]
pull_request:
branches: [ "main" ]

Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:

release:
name: Release
needs: [build]
needs: [ build ]
# We run the release job only if a tag starts with 'v' letter
if: startsWith( github.ref, 'refs/tags/v' )
runs-on: ubuntu-22.04
Expand All @@ -110,9 +110,9 @@ jobs:

# Goreleaser
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down

0 comments on commit 04e6132

Please sign in to comment.