diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index b340ab1..8069c25 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -28,9 +28,14 @@ jobs: - name: Install dependencies run: | go get . + + - name: Create artifact directoy + run: mkdir bin - name: Build run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o bin/spotigram_${{ matrix.os }}_${{ matrix.arch }} -v ./... - - - name: Test - run: go test -v ./... + + - name: upload artifacts + uses: actions/upload-artifact@v3.1.2 + with: + path: bin/*