From 374bc49e6a1f293778ce4cd1148846d4c1404d2c Mon Sep 17 00:00:00 2001 From: ayntgl Date: Sun, 23 Jan 2022 23:06:52 +0400 Subject: [PATCH] Use GitHub artifact to upload binary --- .github/workflows/ci.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71aac93..17b6263 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,23 +4,27 @@ on: [push, pull_request] jobs: build: strategy: + fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - - name: Checkout - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Setup Go - uses: actions/setup-go@v2 + - uses: actions/setup-go@v2 with: go-version: '^1.17' - name: Format run: make fmt - - name: Build - run: make build - - name: Test run: make test + + - name: Build + run: make build + + - uses: actions/upload-artifact@v2 + with: + name: discordo + path: ./discordo