Fix Build Desktop Workflow (#2666)

This commit is contained in:
Vince Grassia 2022-05-09 11:22:14 -04:00 committed by GitHub
parent 0e1aacc7f2
commit f82279094b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 6 deletions

View File

@ -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