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