New CI step to produce a full Spoolman build zip
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user