From 3d480acc9f122feeb477dbf81cafdaa9176f959a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20M=C3=B6ller?= Date: Tue, 7 Mar 2023 11:09:36 +0100 Subject: [PATCH] Update go.yaml --- .github/workflows/go.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 8297550..469189c 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -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