New CI step to produce a full Spoolman build zip

This commit is contained in:
Donkie
2023-12-28 11:23:34 +01:00
parent cf8d7472f5
commit 75a8128f19

View File

@@ -60,11 +60,25 @@ jobs:
rm -f .env && echo "VITE_APIURL=/api/v1" > .env.production rm -f .env && echo "VITE_APIURL=/api/v1" > .env.production
npm run build 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 uses: actions/upload-artifact@v3
with: with:
name: client name: client
path: client/dist path: client/dist
- name: Upload full Spoolman artifact
uses: actions/upload-artifact@v3
with:
name: spoolman
path: .
# #
# Build native image for integration tests # Build native image for integration tests
# #