From 00184f20c0f178243cc05d1a5b246f1233a1caa1 Mon Sep 17 00:00:00 2001 From: Lorne Stalker Date: Sat, 9 Sep 2023 11:26:01 +0100 Subject: [PATCH] test uploading binary to artefacts --- .github/workflows/server-ci.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/server-ci.yaml b/.github/workflows/server-ci.yaml index 7858d18..6c95554 100644 --- a/.github/workflows/server-ci.yaml +++ b/.github/workflows/server-ci.yaml @@ -1,4 +1,4 @@ -name: Server build & publish +name: Server CI on: push: @@ -34,3 +34,11 @@ jobs: - name: Test run: go test ./... + - name: Build server + run: go build -o digits-server ./... + + - name: Upload binary artifact + uses: actions/upload-artifact@v2 + with: + name: digits-server + path: digits-server