Fix Build Desktop Workflow (#2666)
This commit is contained in:
parent
0e1aacc7f2
commit
f82279094b
|
@ -14,7 +14,6 @@ on:
|
|||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: apps/desktop
|
||||
|
||||
jobs:
|
||||
cloc:
|
||||
|
@ -41,6 +40,9 @@ jobs:
|
|||
build_number: ${{ steps.increment-version.outputs.build_number }}
|
||||
rc_branch_exists: ${{ steps.branch-check.outputs.rc_branch_exists }}
|
||||
hotfix_branch_exists: ${{ steps.branch-check.outputs.hotfix_branch_exists }}
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/desktop
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
||||
|
@ -80,6 +82,9 @@ jobs:
|
|||
needs: setup
|
||||
env:
|
||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/desktop
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
||||
|
@ -88,7 +93,7 @@ jobs:
|
|||
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3.0.0
|
||||
with:
|
||||
cache: 'npm'
|
||||
cache-dependency-path: '**/package-lock.json'
|
||||
cache-dependency-path: 'apps/desktop/**/package-lock.json'
|
||||
node-version: '16'
|
||||
|
||||
- name: Set Node options
|
||||
|
@ -181,7 +186,7 @@ jobs:
|
|||
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3.0.0
|
||||
with:
|
||||
cache: 'npm'
|
||||
cache-dependency-path: '**/package-lock.json'
|
||||
cache-dependency-path: 'apps/desktop/**/package-lock.json'
|
||||
node-version: '16'
|
||||
|
||||
- name: Set Node options
|
||||
|
@ -353,6 +358,9 @@ jobs:
|
|||
needs: setup
|
||||
env:
|
||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/desktop
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
||||
|
@ -361,7 +369,7 @@ jobs:
|
|||
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3.0.0
|
||||
with:
|
||||
cache: 'npm'
|
||||
cache-dependency-path: '**/package-lock.json'
|
||||
cache-dependency-path: 'apps/desktop/**/package-lock.json'
|
||||
node-version: '16'
|
||||
|
||||
- name: Set Node options
|
||||
|
@ -482,6 +490,9 @@ jobs:
|
|||
- macos-build
|
||||
env:
|
||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/desktop
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
||||
|
@ -490,7 +501,7 @@ jobs:
|
|||
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3.0.0
|
||||
with:
|
||||
cache: 'npm'
|
||||
cache-dependency-path: '**/package-lock.json'
|
||||
cache-dependency-path: 'apps/desktop/**/package-lock.json'
|
||||
node-version: '16'
|
||||
|
||||
- name: Set Node options
|
||||
|
@ -652,6 +663,9 @@ jobs:
|
|||
- macos-build
|
||||
env:
|
||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/desktop
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
||||
|
@ -814,6 +828,9 @@ jobs:
|
|||
- macos-build
|
||||
env:
|
||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/desktop
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
||||
|
@ -822,7 +839,7 @@ jobs:
|
|||
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3.0.0
|
||||
with:
|
||||
cache: 'npm'
|
||||
cache-dependency-path: '**/package-lock.json'
|
||||
cache-dependency-path: 'apps/desktop/**/package-lock.json'
|
||||
node-version: '16'
|
||||
|
||||
- name: Set Node options
|
||||
|
|
Loading…
Reference in New Issue