Update go.yaml

This commit is contained in:
2023-03-07 11:09:36 +01:00
committed by GitHub
parent 193aa655f0
commit 3d480acc9f
+3 -6
View File
@@ -28,16 +28,13 @@ 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 main.go
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o spotigram_${{ matrix.os }}_${{ matrix.arch }} -v main.go
- name: upload artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: spotigram
path: bin/*
name: spotigram_${{ matrix.os }}_${{ matrix.arch }}
path: spotigram_${{ matrix.os }}_${{ matrix.arch }}
retention-days: 30