Skip to content

Commit

Permalink
Fix packaging on Build Web workflow (#3613)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrassia committed Sep 26, 2022
1 parent 96bc18d commit 67c447d
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 67c447d

Please sign in to comment.