From 0330c596e4d2539111166e3234f3b997a05c6912 Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Sun, 20 Dec 2020 19:56:28 +0000 Subject: [PATCH] Upload build artifacts to workflow job --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cf99978..8ab013b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ on: - created # Allows the workflow to be triggered manually from the Actions tab - # workflow_dispatch: + workflow_dispatch: jobs: build: @@ -162,3 +162,10 @@ jobs: with: files: './binaries/*' repo-token: ${{ secrets.GITHUB_TOKEN }} + + - name: 'Upload Artifacts' + if: env.HAVE_FILES == 'true' + uses: actions/upload-artifact@v2 + with: + name: build-artifacts + path: ./binaries/