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 run: npm install -g @quasar/cli
- name: Build Project - name: Build Project
run: quasar build -m pwa run: quasar build -m pwa
# - name: Archive Production Artifact - name: Get Version Number
# uses: actions/upload-artifact@v2 id: get_version
# with: run: echo "::set-output name=VERSION::$(node -p "require('./package.json').version")"
# name: build-artifact - name: Create Tarball of Build
# path: dist/pwa 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