From fedc03dbae26b072825d25ceffb0fd18a2403cca Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 24 Mar 2020 11:00:46 -0400 Subject: [PATCH] upload dist artifacts for windows and linux --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ef19ceb05..ef8ce6dc5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,7 +62,7 @@ jobs: - name: Run linter run: npm run lint - - name: Dist build application + - name: Build application shell: pwsh run: | echo "Building dist for $env:PACKAGE_VERSION" @@ -75,3 +75,10 @@ jobs: elseif($env:RUNNER_OS -eq "macOS") { npm run build } + + - name: Upload artifacts + if: runner.os == 'Linux' || runner.os == 'Windows' + uses: actions/upload-artifact@v2-preview + with: + name: dist + path: dist/*