Skip to content

Commit

Permalink
fix releaser action
Browse files Browse the repository at this point in the history
  • Loading branch information
euforic committed Sep 14, 2023
1 parent c215566 commit 06419aa
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,28 @@ on:
push:
tags:
- "*" # triggers only if push new tag version, like `0.8.4` or else

permissions:
contents: write

jobs:
build:
name: GoReleaser build
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/
- name: Set up Go
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
id: go
- name: Run GoReleaser
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5

with:
workdir: ./cmd/templit
distribution: goreleaser
Expand Down

0 comments on commit 06419aa

Please sign in to comment.