Skip to content

Commit 170abd4

Browse files
authored
Merge pull request #11 from Boemeltrein/patch-1
Create forgetool.release.yaml
2 parents 7028594 + 69c2870 commit 170abd4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: forgetool-go-release
2+
concurrency:
3+
group: ${{ github.workflow }}-${{ github.ref }}
4+
on:
5+
push:
6+
tags:
7+
- "v*"
8+
jobs:
9+
goreleaser:
10+
runs-on:
11+
group: default
12+
steps:
13+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
14+
with:
15+
fetch-depth: 0
16+
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
17+
with:
18+
go-version: stable
19+
cache: true
20+
cache-dependency-path: |
21+
**/go.mod
22+
**/go.sum
23+
- uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6
24+
with:
25+
args: release --clean
26+
distribution: goreleaser # or 'goreleaser-pro'
27+
version: "~> v2" # or 'latest', 'nightly', semver
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)