Skip to content

Commit 067659f

Browse files
publish test
1 parent 3e5c238 commit 067659f

File tree

3 files changed

+74
-315
lines changed

3 files changed

+74
-315
lines changed

.github/workflows/pr.yml

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ on:
33
pull_request:
44
branches:
55
- master
6-
env:
7-
BRN_Version: '0.69'
86

97
jobs:
108
build-android:
@@ -76,14 +74,6 @@ jobs:
7674
run: npx gulp buildIOS
7775
working-directory: ./Package
7876

79-
- name: Cache XCFrameworks
80-
uses: actions/cache@v4
81-
with:
82-
path: Modules/@babylonjs/react-native/ios/libs
83-
key: ${{ runner.os }}-xcframeworks-${{ github.sha }}
84-
restore-keys: |
85-
${{ runner.os }}-xcframeworks
86-
8777
build-windows:
8878
runs-on: windows-2019
8979
steps:
@@ -135,15 +125,37 @@ jobs:
135125
run: nuget restore Playground.sln
136126
working-directory: ./Apps/Playground/windows
137127

138-
- name: Windows build BN
139-
run: MSBuild /p:Platform="x64" /p:Configuration="Release" /m ReactNativeBabylon.sln
140-
working-directory: ./Modules/@babylonjs/react-native/Build/uwp_x64
128+
# - name: Windows build BN
129+
# run: MSBuild /p:Platform="x64" /p:Configuration="Release" /m ReactNativeBabylon.sln
130+
# working-directory: ./Modules/@babylonjs/react-native/Build/uwp_x64
141131

142-
- name: Windows build BRN
143-
run: MSBuild /p:Platform="x64" /p:Configuration="Release" /m Playground.sln
144-
working-directory: ./Apps/Playground/windows
132+
# - name: Windows build BRN
133+
# run: MSBuild /p:Platform="x64" /p:Configuration="Release" /m Playground.sln
134+
# working-directory: ./Apps/Playground/windows
145135

146136
build-typescript:
147137
uses: ./.github/workflows/typescript.yml
148138
with:
149139
release-version: 0.0.${GITHUB_SHA::8}
140+
141+
package:
142+
needs: [build-typescript, build-iOS, build-android]
143+
runs-on: macos-latest
144+
steps:
145+
- name: Checkout Repo
146+
uses: actions/[email protected]
147+
- name: NPM Install (Binary Package)
148+
run: npm install
149+
working-directory: ./Package
150+
- name: Download Assembled Folder
151+
uses: actions/download-artifact@v4
152+
with:
153+
name: 'Assembled'
154+
path: Package/Assembled
155+
156+
- name: Publish Package dry run
157+
run: |
158+
npm publish --access public --dry-run
159+
working-directory: ./Package/Assembled
160+
env:
161+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
working-directory: ./Apps/Playground
3030

3131
- name: Gulp
32-
run: npx gulp buildTS
32+
run: npx gulp buildAssembled
3333
working-directory: ./Package
3434
- name: Upload Assembled Folder
3535
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)