New workflow steps to use version
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 3m9s

This commit is contained in:
2023-12-02 23:19:02 -05:00
parent 2bb9591833
commit 39a6ab5fcc

View File

@@ -23,8 +23,13 @@ jobs:
run: npm install -g @quasar/cli
- name: Build Project
run: quasar build -m pwa
# - name: Archive Production Artifact
# uses: actions/upload-artifact@v2
# with:
# name: build-artifact
# path: dist/pwa
- name: Get Version Number
id: get_version
run: echo "::set-output name=VERSION::$(node -p "require('./package.json').version")"
- name: Create Tarball of Build
run: tar -czvf build-${{ steps.get_version.outputs.VERSION }}.tar.gz dist/pwa
- name: Upload Tarball
uses: actions/upload-artifact@v3
with:
name: build-artifact-${{ steps.get_version.outputs.VERSION }}
path: build-${{ steps.get_version.outputs.VERSION }}.tar.gz