Skip to content

Commit

Permalink
Improve Safari build. +semver:patch
Browse files Browse the repository at this point in the history
  • Loading branch information
willson556 committed Jan 15, 2024
1 parent 93b50dd commit f94bd7a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,16 @@ jobs:
run: npm run build ${{ matrix.browser }}

- name: Zip
if: matrix.browser != 'safari'
run: 7z a dist/${{ matrix.browser }}.zip ./dist/${{ matrix.browser }}/*

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

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: extension-${{ 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.zip

0 comments on commit f94bd7a

Please sign in to comment.