Skip to content

Commit a5b6242

Browse files
Update go.yml
1 parent e5105ad commit a5b6242

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/go.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ on:
1010
type: choice
1111
options:
1212
- server
13-
- tablet - redmi
13+
- tablet
14+
- redmi
1415
push:
1516
branches: [ "master" ]
1617
tags:
@@ -34,7 +35,8 @@ jobs:
3435
with:
3536
go-version: '1.20'
3637

37-
- name: Set build variables id: vars
38+
- name: Set build variables
39+
id: vars
3840
run: |
3941
if [[ "${{ github.event.inputs.target }}" == "tablet" ]]; then
4042
echo "GOOS=android" >> $GITHUB_ENV
@@ -56,7 +58,8 @@ jobs:
5658
run: |
5759
mkdir -p dist
5860
if [[ -n "${GOARM}" ]]; then
59-
GOOS="${GOOS}" GOARCH="${GOARCH}" GOARM="${GOARM}" \ go build -v -x -ldflags="-X main.name=ccat -X main.version=$(git describe --abbrev=0 --tags) -X main.commit=$(git rev-parse --short HEAD)" \
61+
GOOS="${GOOS}" GOARCH="${GOARCH}" GOARM="${GOARM}" \
62+
go build -v -x -ldflags="-X main.name=ccat -X main.version=$(git describe --abbrev=0 --tags) -X main.commit=$(git rev-parse --short HEAD)" \
6063
-o dist/ccat-${SUFFIX}
6164
else
6265
GOOS="${GOOS}" GOARCH="${GOARCH}" \

0 commit comments

Comments
 (0)