Remove safari build script from Build workflow (#1413)

This commit is contained in:
Vince Grassia 2022-03-15 16:47:02 -04:00 committed by GitHub
parent 114d7455b8
commit e49d317d19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 14 deletions

View File

@ -514,8 +514,10 @@ jobs:
ref: ${{ needs.setup.outputs.safari_ref }} ref: ${{ needs.setup.outputs.safari_ref }}
- name: Build Safari extension - name: Build Safari extension
shell: pwsh run: |
run: ./scripts/safari-build.ps1 -skipcheckout -skipoutcopy npm install
npm run dist:safari
working-directory: dist-safari/browser
macos-package-github: macos-package-github:
@ -660,12 +662,15 @@ jobs:
- name: Build Safari extension - name: Build Safari extension
if: steps.safari-cache.outputs.cache-hit != 'true' if: steps.safari-cache.outputs.cache-hit != 'true'
shell: pwsh run: |
run: ./scripts/safari-build.ps1 -skipcheckout -skipoutcopy npm install
npm run dist:safari
working-directory: dist-safari/browser
- name: Load Safari extension for .dmg - name: Load Safari extension for .dmg
shell: pwsh run: |
run: ./scripts/safari-build.ps1 -copyonly mkdir PlugIns
cp -r dist-safari/browser/dist/Safari/dmg/build/Release/safari.appex PlugIns/safari.appex
- name: Build application (dist) - name: Build application (dist)
env: env:
@ -844,12 +849,15 @@ jobs:
- name: Build Safari extension - name: Build Safari extension
if: steps.safari-cache.outputs.cache-hit != 'true' if: steps.safari-cache.outputs.cache-hit != 'true'
shell: pwsh run: |
run: ./scripts/safari-build.ps1 -skipcheckout -skipoutcopy npm install
npm run dist:safari
working-directory: dist-safari/browser
- name: Load Safari extension for App Store - name: Load Safari extension for App Store
shell: pwsh run: |
run: ./scripts/safari-build.ps1 -mas -copyonly mkdir PlugIns
cp -r dist-safari/browser/dist/Safari/mas/build/Release/safari.appex PlugIns/safari.appex
- name: Build application for App Store - name: Build application for App Store
run: npm run pack:mac:mas run: npm run pack:mac:mas
@ -1020,12 +1028,15 @@ jobs:
- name: Build Safari extension - name: Build Safari extension
if: steps.safari-cache.outputs.cache-hit != 'true' if: steps.safari-cache.outputs.cache-hit != 'true'
shell: pwsh run: |
run: ./scripts/safari-build.ps1 -skipcheckout -skipoutcopy npm install
npm run dist:safari
working-directory: dist-safari/browser
- name: Load Safari extension for App Store - name: Load Safari extension for App Store
shell: pwsh run: |
run: ./scripts/safari-build.ps1 -masdev -copyonly mkdir PlugIns
cp -r dist-safari/browser/dist/Safari/masdev/build/Release/safari.appex PlugIns/safari.appex
- name: Build dev application for App Store - name: Build dev application for App Store
run: npm run pack:mac:masdev run: npm run pack:mac:masdev