Skip to content

Commit

Permalink
Zip extensions. +semver:major
Browse files Browse the repository at this point in the history
  • Loading branch information
willson556 committed Jan 15, 2024
1 parent 612cf27 commit 12d8383
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,24 @@ jobs:

- name: Build
run: npm run build ${{ matrix.browser }}

- name: Zip
run: 7z a dist/${{ matrix.browser }}.zip ./dist/${{ matrix.browser }}/*

- name: Generate Safari Project
if: matrix.browser == 'safari'
run: npm run build-safari
run: npm run build-safari && 7z a xcode.zip ./xcode/*

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: extension-${{ matrix.browser }}
path: dist/${{ matrix.browser }}
path: dist/${{ matrix.browser }}.zip

- name: Upload Safari Project
if: matrix.browser == 'safari'
uses: actions/upload-artifact@v4
with:
name: extension-safari-project
path: xcode/
path: xcode.zip

0 comments on commit 12d8383

Please sign in to comment.