Update go.yaml
This commit is contained in:
@@ -29,15 +29,12 @@ jobs:
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user