File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 type : choice
1111 options :
1212 - server
13- - tablet - redmi
13+ - tablet
14+ - redmi
1415 push :
1516 branches : [ "master" ]
1617 tags :
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
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}" \
You can’t perform that action at this time.
0 commit comments