From be6a80b23a2a5ca96483afc6184073a91446cd9d Mon Sep 17 00:00:00 2001 From: Cedric Guillemet <1312968+CedricGuillemet@users.noreply.github.com> Date: Wed, 17 May 2023 17:26:35 +0200 Subject: [PATCH] Fix test gen windows (#578) * fix typo windows testVersion * pfx fix * removed test code * empty line * windows dep --- .github/workflows/testVersion.yml | 2 +- Apps/Playground/0.71/package.json | 2 +- Package/gulpfile.js | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testVersion.yml b/.github/workflows/testVersion.yml index b6faec8e1..197a76762 100644 --- a/.github/workflows/testVersion.yml +++ b/.github/workflows/testVersion.yml @@ -40,7 +40,7 @@ jobs: npm install @babylonjs/core@${{ github.event.inputs.BJS_Version }} npm install @babylonjs/loaders@${{ github.event.inputs.BJS_Version }} npm install @babylonjs/react-native@${{ github.event.inputs.BRN_Version }} - npm install @babylonjs/react-native-iosandroid-${{ github.event.inputs.BRN_Postfix }}@${{ github.event.inputs.BRN_Version }} + npm install @babylonjs/react-native-windows-${{ github.event.inputs.BRN_Postfix }}@${{ github.event.inputs.BRN_Version }} npm install @react-native-community/slider # npm install react-native-permissions npx react-native autolink-windows diff --git a/Apps/Playground/0.71/package.json b/Apps/Playground/0.71/package.json index 781bcda48..e108e33eb 100644 --- a/Apps/Playground/0.71/package.json +++ b/Apps/Playground/0.71/package.json @@ -23,7 +23,7 @@ "react": "18.2.0", "react-native": "0.71.7", "react-native-permissions": "^3.6.1", - "react-native-windows": "0.71.1" + "react-native-windows": "0.71.7" }, "devDependencies": { "@babel/core": "^7.12.9", diff --git a/Package/gulpfile.js b/Package/gulpfile.js index c4009c00a..420fb6708 100644 --- a/Package/gulpfile.js +++ b/Package/gulpfile.js @@ -386,7 +386,8 @@ const copyARM64ReleaseUWPFiles = () => { } const copyVCXProjUWPFiles = () => { - return gulp.src('../Modules/@babylonjs/react-native-windows/windows/BabylonReactNative/*.*', '!*.pfx') + const uwpFilesDir = '../Modules/@babylonjs/react-native-windows/windows/BabylonReactNative'; + return gulp.src([`${uwpFilesDir}/*.*`, `!${uwpFilesDir}/*.pfx`]) .pipe(gulp.dest('Assembled-Windows/windows/BabylonReactNative')); }