ci/cd: If this does not work, going to scrap windows
Some checks failed
Release / build (amd64, linux, ubuntu-latest) (push) Failing after 4m45s
Release / build (arm64, linux, ubuntu-latest) (push) Failing after 4m44s
Release / build (amd64, darwin, macos-latest) (push) Has been cancelled
Release / build (amd64, windows, windows-latest) (push) Has been cancelled
Release / build (arm64, darwin, macos-latest) (push) Has been cancelled
Release / release (push) Has been cancelled

This commit is contained in:
Hayden Hargreaves 2026-04-23 23:31:29 -07:00
parent 38fad01063
commit 44fc05af81

View File

@ -32,9 +32,14 @@ jobs:
with: with:
go-version: "1.26" go-version: "1.26"
- name: Build - name: Build
shell: bash
run: | run: |
mkdir -p dist mkdir -p dist
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o dist/termtap-${{ matrix.goos }}-${{ matrix.goarch }} ./cmd/tap/main.go binary="dist/termtap-${{ matrix.goos }}-${{ matrix.goarch }}"
if [ "${{ matrix.goos }}" = "windows" ]; then
binary="${binary}.exe"
fi
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o "$binary" ./cmd/tap/main.go
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: