File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed
Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 11name : ci
22on :
33 push :
4- branches : ' *'
4+ branches : [ '*']
55 pull_request :
66jobs :
77 build-android :
88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@v2
11- - uses : actions/setup-node@v1
11+ - uses : actions/setup-node@v2
1212 with :
13- node-version : ' 12'
13+ node-version : ' 16'
14+ - run : echo "y" | /usr/local/lib/android/sdk/tools/bin/sdkmanager "ndk;21.0.6113669"
1415 - run : npm i -g electrode-native
1516 - run : yarn --frozen-lockfile
1617 - working-directory : android/
@@ -21,12 +22,15 @@ jobs:
2122 runs-on : macos-latest
2223 steps :
2324 - uses : actions/checkout@v2
24- - uses : actions/setup-node@v1
25+ - uses : actions/setup-node@v2
2526 with :
26- node-version : ' 12'
27+ node-version : ' 16'
28+ - uses : maxim-lobanov/setup-xcode@v1
29+ with :
30+ xcode-version : ' 12.4.0'
2731 - run : npm i -g electrode-native
2832 - run : yarn --frozen-lockfile
2933 - working-directory : ios/
30- run : ern create-container -- out ${PWD}/container -m https://github.com/electrode-io/movies-reloaded-miniapp --platform ios
34+ run : ern create-container -p ios -- out ${PWD}/container -m https://github.com/electrode-io/movies-reloaded-miniapp
3135 - working-directory : ios/moviesreloadedMiniApp/
3236 run : xcodebuild -project "ErnRunner.xcodeproj" -scheme "ErnRunner" -destination "platform=iOS Simulator,name=iPhone 11"
Original file line number Diff line number Diff line change 11name : publish
22on :
33 push :
4- tags : v[0-9]+.[0-9]+.[0-9]+
4+ tags : [' v[0-9]+.[0-9]+.[0-9]+']
55jobs :
66 publish :
7+ if : github.event.repository.fork == false
78 runs-on : ubuntu-latest
89 steps :
910 - uses : actions/checkout@v2
10- - uses : actions/setup-node@v1
11+ - uses : actions/setup-node@v2
1112 with :
12- node-version : 12
13+ node-version : ' 16 '
1314 registry-url : ' https://registry.npmjs.org'
1415 - run : yarn --frozen-lockfile
1516 - run : npm publish --access public
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ android {
2626 targetCompatibility = ' 1.8'
2727 }
2828 buildToolsVersion = ' 28.0.3'
29-
29+ ndkVersion " 21.0.6113669 "
3030}
3131
3232dependencies {
You can’t perform that action at this time.
0 commit comments