File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,19 @@ jobs:
14
14
with :
15
15
fetch-depth : 0
16
16
17
- - name : Set up Go
18
- uses : actions/setup-go@v3
19
- with :
20
- go-version : 1.16
21
-
22
17
- name : Run GoReleaser
23
- uses : goreleaser/goreleaser-action@v2
24
- if : startsWith(github.ref, 'refs/tags/')
25
- with :
26
- distribution : goreleaser
27
- version : latest
28
- args : release --rm-dist
29
18
env :
30
19
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+ PACKAGE_NAME : github.com/cokemine/ServerStatus-goclient
21
+ run : |-
22
+ docker run \
23
+ --rm \
24
+ --privileged \
25
+ -e GITHUB_TOKEN=${GITHUB_TOKEN} \
26
+ -v /var/run/docker.sock:/var/run/docker.sock \
27
+ -v $(pwd):/go/src/${PACKAGE_NAME} \
28
+ -v $(pwd)/sysroot:/sysroot \
29
+ -w /go/src/${PACKAGE_NAME} \
30
+ goreleaser/goreleaser-cross \
31
+ -f .goreleaser_action.yml \
32
+ release --rm-dist
You can’t perform that action at this time.
0 commit comments