From 75a8128f19754419eb6e1e54030655ee6b3dc07c Mon Sep 17 00:00:00 2001 From: Donkie Date: Thu, 28 Dec 2023 11:23:34 +0100 Subject: [PATCH] New CI step to produce a full Spoolman build zip --- .github/workflows/ci.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 414a4ab..19998e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,11 +60,25 @@ jobs: rm -f .env && echo "VITE_APIURL=/api/v1" > .env.production npm run build - - name: Upload artifact + # Remove client source and keep only the built dist + - name: Clean + run: | + mv client/dist dist + rm -rf client + mkdir client + mv dist client/dist + + - name: Upload client Spoolman artifact uses: actions/upload-artifact@v3 with: name: client path: client/dist + + - name: Upload full Spoolman artifact + uses: actions/upload-artifact@v3 + with: + name: spoolman + path: . # # Build native image for integration tests #