uses makefile

This commit is contained in:
Christopher Lowenthal 2022-10-25 11:26:14 -04:00
parent 4b435cdeca
commit 22cc8a2556

View file

@ -22,12 +22,12 @@ jobs:
go-version: "^1.19.1"
- name: build featurebase
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/featurebase-${{ matrix.goos }}-${{ matrix.goarch }}
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} make release-build
- uses: actions/upload-artifact@v3
with:
name: featurebase-${{ matrix.goos }}-${{ matrix.goarch }}
path: ./build/featurebase-${{ matrix.goos }}-${{ matrix.goarch }}
# - uses: actions/upload-artifact@v3
# with:
# name: featurebase-${{ matrix.goos }}-${{ matrix.goarch }}
# path: ./build/featurebase-${{ matrix.goos }}-${{ matrix.goarch }}
build-ingest:
runs-on: ubuntu-latest
@ -51,9 +51,9 @@ jobs:
run: cd idk
- name: build ingest
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/ingest-${{ matrix.goos }}-${{ matrix.goarch }}
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} make release-build
- uses: actions/upload-artifact@v3
with:
name: ingest-${{ matrix.goos }}-${{ matrix.goarch }}
path: ./build/ingest-${{ matrix.goos }}-${{ matrix.goarch }}
# - uses: actions/upload-artifact@v3
# with:
# name: ingest-${{ matrix.goos }}-${{ matrix.goarch }}
# path: ./build/ingest-${{ matrix.goos }}-${{ matrix.goarch }}