refactor: organize desktop vs. mobile into separate folders
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: js
|
working-directory: js/desktop
|
||||||
env:
|
env:
|
||||||
APP_ENV: prod
|
APP_ENV: prod
|
||||||
AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }}
|
AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }}
|
||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: js/yarn.lock
|
cache-dependency-path: js/desktop/yarn.lock
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile --network-timeout 600000
|
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"
|
$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" }
|
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_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
|
- name: Locate signtool.exe
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@@ -84,7 +84,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: flowy-llink-windows-signed
|
name: flowy-llink-windows-signed
|
||||||
path: js/out/make/**/*
|
path: js/desktop/out/make/**/*
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
|
|
||||||
# When Squirrel reports a generic "Failed to sign", the real error from
|
# When Squirrel reports a generic "Failed to sign", the real error from
|
||||||
@@ -94,5 +94,5 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: electron-windows-sign-log
|
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
|
if-no-files-found: ignore
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 667 B |
|
Before Width: | Height: | Size: 1001 B After Width: | Height: | Size: 1001 B |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 1001 B After Width: | Height: | Size: 1001 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |