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 - name: Install dependencies
run: | run: |
go get . go get .
- name: Create artifact directoy
run: mkdir bin
- name: Build - 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 - name: upload artifacts
uses: actions/upload-artifact@v3.1.2 uses: actions/upload-artifact@v3.1.2
with: with:
name: spotigram name: spotigram_${{ matrix.os }}_${{ matrix.arch }}
path: bin/* path: spotigram_${{ matrix.os }}_${{ matrix.arch }}
retention-days: 30 retention-days: 30