File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 8080 llvm \
8181 lld
8282
83+ - name : Setup Go
84+ uses : actions/setup-go@v5
85+ with :
86+ go-version : " stable"
87+ cache : true
88+
89+ - name : Build and install trice CLI
90+ shell : bash
91+ run : |
92+ set -euxo pipefail
93+
94+ # Build the trice CLI from repository sources and put it on PATH.
95+ #
96+ # NOTE:
97+ # - Adjust the package path (./cmd/trice) to match your repo layout.
98+ # - If your main package is elsewhere, change accordingly.
99+
100+ go version
101+ go env GOPATH
102+
103+ # Option A (most common): main package under ./cmd/trice
104+ go build -o /usr/local/bin/trice ./cmd/trice
105+
106+ # Verify availability
107+ command -v trice
108+ trice --help || true
109+
83110 - name : Print tool versions
84111 shell : bash
85112 run : |
You can’t perform that action at this time.
0 commit comments