We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f0c0e0 commit 144de46Copy full SHA for 144de46
.github/workflows/goreleaser.yml
@@ -0,0 +1,35 @@
1
+name: goreleaser
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - "main.go"
7
+ tags:
8
+ - "**"
9
10
+jobs:
11
+ goreleaser:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v3
16
+ with:
17
+ fetch-depth: 0
18
+ - name: Set up Go
19
+ uses: actions/setup-go@v3
20
21
+ go-version: 1.23.4
22
+ - run: go version
23
+ - name: Run GoReleaser
24
+ uses: goreleaser/goreleaser-action@v6
25
26
+ distribution: goreleaser
27
+ version: latest
28
+ args: release
29
+ env:
30
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
+ - name: Upload assets
32
+ uses: actions/upload-artifact@v3
33
34
+ name: sshcont
35
+ path: dist/*
0 commit comments