Update go.yaml

adds artifact upload
adds bin/ artifact directory
This commit is contained in:
2023-03-07 10:50:17 +01:00
committed by GitHub
parent c3d49e3473
commit 815a66eb8c
+8 -3
View File
@@ -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/*