From 67c447d54ce0f08b99e2efc63b28cafac3411486 Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Mon, 26 Sep 2022 09:50:48 -0400 Subject: [PATCH] Fix packaging on Build Web workflow (#3613) --- .github/workflows/build-web.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml index a5fc5f6185b7..b2499f190a12 100644 --- a/.github/workflows/build-web.yml +++ b/.github/workflows/build-web.yml @@ -117,15 +117,11 @@ jobs: working-directory: apps/web 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 uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0 with: 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 build-commercial-selfhost-image: @@ -155,11 +151,7 @@ jobs: uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 with: name: web-${{ env._VERSION }}-selfhosted-COMMERCIAL.zip - path: apps/web - - - name: Extract selfhosted-COMMERCIAL artifact - working-directory: apps/web - run: unzip web-${{ env._VERSION }}-selfhosted-COMMERCIAL.zip + path: apps/web/build - name: Build Docker image working-directory: apps/web @@ -266,11 +258,7 @@ jobs: uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 with: name: web-${{ env._VERSION }}-cloud-QA.zip - path: apps/web - - - name: Extract cloud-QA artifact - working-directory: apps/web - run: unzip web-${{ env._VERSION }}-cloud-QA.zip + path: apps/web/build - name: Build Docker image working-directory: apps/web