File tree Expand file tree Collapse file tree 11 files changed +7
-10
lines changed Expand file tree Collapse file tree 11 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 2727 - name : Setup Go
2828 uses : actions/setup-go@v5
2929 with :
30- go-version-file : app/ go.mod
30+ go-version-file : go.mod
3131 check-latest : true
3232 cache : true
3333
@@ -38,21 +38,21 @@ jobs:
3838 shell : bash
3939 run : |
4040 set -euo pipefail
41- cd app/ toolbox
41+ cd toolbox
4242 go build -o toolbox-builder
4343
4444 - name : Build toolbox archive
4545 shell : bash
4646 run : |
4747 set -euo pipefail
48- cd app/ toolbox
48+ cd toolbox
4949 ./toolbox-builder -yaml ../playbooks/60-second-linux.yaml -out toolbox-${{ matrix.arch_tag }}.tar.xz
5050
5151 - name : Upload artifact
5252 uses : actions/upload-artifact@v4
5353 with :
5454 name : toolbox-${{ matrix.arch_tag }}
55- path : app/ toolbox/toolbox-${{ matrix.arch_tag }}.tar.xz
55+ path : toolbox/toolbox-${{ matrix.arch_tag }}.tar.xz
5656 if-no-files-found : error
5757 retention-days : 7
5858
Original file line number Diff line number Diff line change @@ -31,21 +31,19 @@ jobs:
3131 - name : Set up Go
3232 uses : actions/setup-go@v5
3333 with :
34- go-version-file : app/ go.mod
34+ go-version-file : go.mod
3535 check-latest : true
3636 cache : true
3737
3838 - name : Show environment
39- working-directory : app
4039 run : |
4140 go version
4241 go env GOOS GOARCH
4342
4443 - name : Build
45- working-directory : app
4644 run : |
47- mkdir -p ../ dist
48- GOFLAGS="-trimpath" go build -ldflags="-s -w" -o ../ dist/gradient-engineer ./app
45+ mkdir -p dist
46+ GOFLAGS="-trimpath" go build -ldflags="-s -w" -o dist/gradient-engineer ./app
4947
5048 - name : Upload binary artifact
5149 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 99func main () {
1010 // Create a new toolbox instance
1111 toolbox := NewToolbox ("https://gradient.engineer/toolbox_v0.tar.xz" )
12-
1312 defer toolbox .Cleanup ()
1413
1514 // Create and run the Bubble Tea program which will handle toolbox download and diagnostics
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments