Skip to content

Commit b69e2bb

Browse files
Merge pull request #186 from friederbluemle/update-workflows
2 parents 9308e72 + f5a75d1 commit b69e2bb

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: ci
22
on:
33
push:
4-
branches: '*'
4+
branches: ['*']
55
pull_request:
66
jobs:
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"

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
name: publish
22
on:
33
push:
4-
tags: v[0-9]+.[0-9]+.[0-9]+
4+
tags: ['v[0-9]+.[0-9]+.[0-9]+']
55
jobs:
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

android/moviesreloaded/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

3232
dependencies {

0 commit comments

Comments
 (0)