diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 786470d..16a98ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,18 @@ jobs: uses: actions/setup-go@v1 with: go-version: 1.12 + - name: Checkout uses: actions/checkout@v1 + - name: Build - run: | - make build + run: make build + + - name: Upload + uses: actions/upload-artifact@v1 + with: + name: podsync-${{ matrix.os }} + path: bin/ test: name: Test diff --git a/Makefile b/Makefile index 4148348..23da041 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ all: build lint test # .PHONY: build build: - go build -o podsync ./cmd/podsync + go build -o bin/podsync ./cmd/podsync # # Build Docker image