Skip to content

Commit

Permalink
build: Let the upload-artificat action do the compression
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed May 25, 2024
1 parent 8688dd4 commit bb431be
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,15 @@ jobs:
- name: Setup repo
uses: actions/checkout@v4

- name: Archive Repo
run: |
zip -r "${{ github.workspace }}/repo.zip" .;
- name: Setup
uses: ./tooling/github/setup

- name: Build the extension
working-directory: apps/browser-extension
run: |
pnpm run build;
cd dist;
zip -r "${{ github.workspace }}/extension.zip" *;
- name: Upload Repo Archive
uses: actions/upload-artifact@v4
with:
name: repo.zip
path: ${{ github.workspace }}/repo.zip
run: pnpm run build

- name: Upload Extension Archive
uses: actions/upload-artifact@v4
with:
name: extension.zip
path: ${{ github.workspace }}/extension.zip
name: hoarder-extension
path: apps/browser-extension/dist/*

0 comments on commit bb431be

Please sign in to comment.