New workflow steps to use version
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 3m9s
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 3m9s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user