1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

Patched build workflow (#1527)

This commit is contained in:
Micaiah Martin 2022-05-04 13:59:36 -05:00 committed by GitHub
parent 00fd2ec03f
commit 508292ae39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -564,14 +564,14 @@ jobs:
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with:
repository: 'bitwarden/browser'
path: 'dist-safari/browser'
path: 'dist-safari/bitwarden'
ref: ${{ needs.setup.outputs.safari_ref }}
- name: Build Safari extension
run: |
npm install
npm run dist:safari
working-directory: dist-safari/browser
working-directory: dist-safari/bitwarden/apps/browser
macos-package-github:
@ -729,8 +729,8 @@ jobs:
if: steps.safari-cache.outputs.cache-hit != 'true'
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with:
repository: 'bitwarden/browser'
path: 'dist-safari/browser'
repository: 'bitwarden/bitwarden'
path: 'dist-safari/bitwarden'
ref: ${{ needs.setup.outputs.safari_ref }}
- name: Build Safari extension
@ -738,12 +738,13 @@ jobs:
run: |
npm install
npm run dist:safari
working-directory: dist-safari/browser
working-directory: dist-safari/bitwarden/apps/browser
- name: Load Safari extension for .dmg
working-directory: dist-safari/bitwarden/apps/browser
run: |
mkdir PlugIns
cp -r dist-safari/browser/dist/Safari/dmg/build/Release/safari.appex PlugIns/safari.appex
cp -r dist/Safari/dmg/build/Release/safari.appex PlugIns/safari.appex
- name: Build application (dist)
env:
@ -936,7 +937,7 @@ jobs:
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with:
repository: 'bitwarden/browser'
path: 'dist-safari/browser'
path: 'dist-safari/bitwarden'
ref: ${{ needs.setup.outputs.safari_ref }}
- name: Build Safari extension
@ -944,12 +945,13 @@ jobs:
run: |
npm install
npm run dist:safari
working-directory: dist-safari/browser
working-directory: dist-safari/bitwarden/apps/browser
- name: Load Safari extension for App Store
working-directory: dist-safari/bitwarden/apps/browser
run: |
mkdir PlugIns
cp -r dist-safari/browser/dist/Safari/mas/build/Release/safari.appex PlugIns/safari.appex
cp -r dist/Safari/mas/build/Release/safari.appex PlugIns/safari.appex
- name: Build application for App Store
run: npm run pack:mac:mas
@ -1129,7 +1131,7 @@ jobs:
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with:
repository: 'bitwarden/browser'
path: 'dist-safari/browser'
path: 'dist-safari/bitwarden'
ref: ${{ needs.setup.outputs.safari_ref }}
- name: Build Safari extension
@ -1137,12 +1139,13 @@ jobs:
run: |
npm install
npm run dist:safari
working-directory: dist-safari/browser
working-directory: dist-safari/bitwarden/apps/browser
- name: Load Safari extension for App Store
working-directory: dist-safari/bitwarden/apps/browser
run: |
mkdir PlugIns
cp -r dist-safari/browser/dist/Safari/masdev/build/Release/safari.appex PlugIns/safari.appex
cp -r dist/Safari/masdev/build/Release/safari.appex PlugIns/safari.appex
- name: Build dev application for App Store
run: npm run pack:mac:masdev