mirror of
https://github.com/bitwarden/browser
synced 2025-12-26 13:13:22 +00:00
Re-apply desktop native debug log level debug builds and fix build workflow (#17908)
* Reapply "Desktop Native compile debug builds with debug log level (#17357)" (#17815) This reverts commit5386b58f23. * Use release mode if workflow called from upstream * fix bug in build script * revert napi build command to not use --release * forward caller's args to napi * js things * shell thangs * use platform agnostic expansion * Revert "use platform agnostic expansion" This reverts commit5ee629f822. * powershell expansion
This commit is contained in:
20
.github/workflows/build-desktop.yml
vendored
20
.github/workflows/build-desktop.yml
vendored
@@ -583,7 +583,9 @@ jobs:
|
||||
- name: Build Native Module
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
working-directory: apps/desktop/desktop_native
|
||||
run: node build.js cross-platform
|
||||
env:
|
||||
MODE: ${{ github.event_name == 'workflow_call' && '--release' || '' }}
|
||||
run: node build.js cross-platform "$env:MODE"
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
@@ -846,7 +848,9 @@ jobs:
|
||||
- name: Build Native Module
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
working-directory: apps/desktop/desktop_native
|
||||
run: node build.js cross-platform
|
||||
env:
|
||||
MODE: ${{ github.event_name == 'workflow_call' && '--release' || '' }}
|
||||
run: node build.js cross-platform "$env:MODE"
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
@@ -1202,7 +1206,9 @@ jobs:
|
||||
- name: Build Native Module
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
working-directory: apps/desktop/desktop_native
|
||||
run: node build.js cross-platform
|
||||
env:
|
||||
MODE: ${{ github.event_name == 'workflow_call' && '--release' || '' }}
|
||||
run: node build.js cross-platform "$MODE"
|
||||
|
||||
- name: Build application (dev)
|
||||
run: npm run build
|
||||
@@ -1424,7 +1430,9 @@ jobs:
|
||||
- name: Build Native Module
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
working-directory: apps/desktop/desktop_native
|
||||
run: node build.js cross-platform
|
||||
env:
|
||||
MODE: ${{ github.event_name == 'workflow_call' && '--release' || '' }}
|
||||
run: node build.js cross-platform "$MODE"
|
||||
|
||||
- name: Build
|
||||
if: steps.build-cache.outputs.cache-hit != 'true'
|
||||
@@ -1705,7 +1713,9 @@ jobs:
|
||||
- name: Build Native Module
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
working-directory: apps/desktop/desktop_native
|
||||
run: node build.js cross-platform
|
||||
env:
|
||||
MODE: ${{ github.event_name == 'workflow_call' && '--release' || '' }}
|
||||
run: node build.js cross-platform "$MODE"
|
||||
|
||||
- name: Build
|
||||
if: steps.build-cache.outputs.cache-hit != 'true'
|
||||
|
||||
Reference in New Issue
Block a user