refactor: organize desktop vs. mobile into separate folders
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: js
|
||||
working-directory: js/desktop
|
||||
env:
|
||||
APP_ENV: prod
|
||||
AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }}
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
cache: yarn
|
||||
cache-dependency-path: js/yarn.lock
|
||||
cache-dependency-path: js/desktop/yarn.lock
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile --network-timeout 600000
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
$dlib = Join-Path $env:RUNNER_TEMP "trusted-signing\Microsoft.Trusted.Signing.Client\bin\x64\Azure.CodeSigning.Dlib.dll"
|
||||
if (-not (Test-Path $dlib)) { throw "Dlib not found at $dlib" }
|
||||
"AZURE_DLIB_PATH=$dlib" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
|
||||
"AZURE_METADATA_JSON_PATH=$env:GITHUB_WORKSPACE\js\signing-metadata.json" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
|
||||
"AZURE_METADATA_JSON_PATH=$env:GITHUB_WORKSPACE\js\desktop\signing-metadata.json" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
|
||||
|
||||
- name: Locate signtool.exe
|
||||
shell: pwsh
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: flowy-llink-windows-signed
|
||||
path: js/out/make/**/*
|
||||
path: js/desktop/out/make/**/*
|
||||
if-no-files-found: warn
|
||||
|
||||
# When Squirrel reports a generic "Failed to sign", the real error from
|
||||
@@ -94,5 +94,5 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: electron-windows-sign-log
|
||||
path: js/node_modules/electron-winstaller/vendor/electron-windows-sign.log
|
||||
path: js/desktop/node_modules/electron-winstaller/vendor/electron-windows-sign.log
|
||||
if-no-files-found: ignore
|
||||
|
||||
Reference in New Issue
Block a user