From 4b435cdeca9a58e7132ef4f4ab9dce3c150576b0 Mon Sep 17 00:00:00 2001 From: Christopher Lowenthal Date: Tue, 25 Oct 2022 11:15:02 -0400 Subject: [PATCH] includes 'featurebase' and 'ingest' in build object names --- .github/workflows/release.yml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 328472b9a..84eabe2f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: workflow_dispatch jobs: - build: + build-featurebase: runs-on: ubuntu-latest strategy: matrix: @@ -22,20 +22,38 @@ jobs: go-version: "^1.19.1" - name: build featurebase - run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }} + run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/featurebase-${{ matrix.goos }}-${{ matrix.goarch }} - uses: actions/upload-artifact@v3 with: name: featurebase-${{ matrix.goos }}-${{ matrix.goarch }} - path: ./build/${{ matrix.goos }}-${{ matrix.goarch }} + path: ./build/featurebase-${{ matrix.goos }}-${{ matrix.goarch }} + + build-ingest: + runs-on: ubuntu-latest + strategy: + matrix: + goos: + - "darwin" + - "linux" + goarch: + - "amd64" + - "arm64" + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-go@v3 + with: + go-version: "^1.19.1" - name: navigate to ingest run: cd idk - name: build ingest - run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }} + run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/ingest-${{ matrix.goos }}-${{ matrix.goarch }} - uses: actions/upload-artifact@v3 with: name: ingest-${{ matrix.goos }}-${{ matrix.goarch }} - path: ./build/${{ matrix.goos }}-${{ matrix.goarch }} \ No newline at end of file + path: ./build/ingest-${{ matrix.goos }}-${{ matrix.goarch }} \ No newline at end of file