Fix packaging on Build Web workflow (#3613)

This commit is contained in:
Vince Grassia 2022-09-26 09:50:48 -04:00 committed by GitHub
parent 96bc18d4ef
commit 67c447d54c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 15 deletions

View File

@ -117,15 +117,11 @@ jobs:
working-directory: apps/web working-directory: apps/web
run: npm run ${{ matrix.npm_command }} run: npm run ${{ matrix.npm_command }}
- name: Package ${{ matrix.name }} artifact
working-directory: apps/web
run: zip -r web-$_VERSION-${{ matrix.name }}.zip build
- name: Upload ${{ matrix.name }} artifact - name: Upload ${{ matrix.name }} artifact
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0 uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
with: with:
name: web-${{ env._VERSION }}-${{ matrix.name }}.zip name: web-${{ env._VERSION }}-${{ matrix.name }}.zip
path: apps/web/web-${{ env._VERSION }}-${{ matrix.name }}.zip path: apps/web/build
if-no-files-found: error if-no-files-found: error
build-commercial-selfhost-image: build-commercial-selfhost-image:
@ -155,11 +151,7 @@ jobs:
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
with: with:
name: web-${{ env._VERSION }}-selfhosted-COMMERCIAL.zip name: web-${{ env._VERSION }}-selfhosted-COMMERCIAL.zip
path: apps/web path: apps/web/build
- name: Extract selfhosted-COMMERCIAL artifact
working-directory: apps/web
run: unzip web-${{ env._VERSION }}-selfhosted-COMMERCIAL.zip
- name: Build Docker image - name: Build Docker image
working-directory: apps/web working-directory: apps/web
@ -266,11 +258,7 @@ jobs:
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
with: with:
name: web-${{ env._VERSION }}-cloud-QA.zip name: web-${{ env._VERSION }}-cloud-QA.zip
path: apps/web path: apps/web/build
- name: Extract cloud-QA artifact
working-directory: apps/web
run: unzip web-${{ env._VERSION }}-cloud-QA.zip
- name: Build Docker image - name: Build Docker image
working-directory: apps/web working-directory: apps/web