fix: harden Windows native project startup
This commit is contained in:
@@ -6,7 +6,7 @@ on:
|
||||
release_tag:
|
||||
description: Existing GitHub release tag to receive the macOS files
|
||||
required: true
|
||||
default: v2.0.0-alpha.30
|
||||
default: v2.0.0-alpha.31
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
release_tag:
|
||||
description: Existing GitHub release tag to receive the Windows installer
|
||||
required: true
|
||||
default: v2.0.0-alpha.30
|
||||
default: v2.0.0-alpha.31
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
@@ -42,6 +42,10 @@ jobs:
|
||||
run: |
|
||||
./runtime-build/windows-x64/stage-runtime.ps1
|
||||
node scripts/smoke-native-runtime.cjs dist/native-runtime-stage/win32-x64
|
||||
$runtime = (Resolve-Path 'dist/native-runtime-stage/win32-x64').Path
|
||||
$env:AURORA_NATIVE_SMOKE_ROOT = $runtime
|
||||
$env:AURORA_NATIVE_WORDPRESS_SMOKE_ROOT = $runtime
|
||||
npx vitest run src/main/native/nativeProject.test.ts
|
||||
node scripts/package-native-runtime.cjs dist/native-runtime-stage/win32-x64 dist/native-runtime/aurora-native-0.1.0-win32-x64.tar.gz
|
||||
|
||||
- name: Read application version
|
||||
|
||||
Reference in New Issue
Block a user