-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 846 Bytes
/
go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Go
on:
push:
branches: [ "main", "development"]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: GoReleaser Action
# You may pin to the exact commit or the version.
# uses: goreleaser/goreleaser-action@68acf3b1adf004ac9c2f0a4259e85c5f66e99bef
uses: goreleaser/[email protected]
with:
# GoReleaser Distribution (goreleaser or goreleaser-pro)
distribution: # optional, default is goreleaser
# GoReleaser version
version: # optional, default is latest
# Arguments to pass to GoReleaser
args: release --rm-dist
# Working directory (below repository root)
workdir: # optional, default is .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}