File tree 1 file changed +3
-28
lines changed
1 file changed +3
-28
lines changed Original file line number Diff line number Diff line change 15
15
jobs :
16
16
build :
17
17
runs-on : ubuntu-latest
18
- strategy :
19
- fail-fast : false
20
- matrix :
21
- include :
22
- - version : ' 0.75.x'
23
- folder : ' rn75'
24
18
25
19
steps :
26
20
- uses : actions/checkout@v2
27
21
28
22
- run : printenv
29
23
30
- - name : Get yarn cache directory path
31
- id : yarn-cache-dir-path
32
- run : echo "::set-output name=dir::$(yarn cache dir)"
33
-
34
- - uses : actions/cache@v2
35
- id : yarn-cache
36
- with :
37
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
38
- key : ${{ runner.os }}-yarn-${{ matrix.version }}
39
- restore-keys : |
40
- ${{ runner.os }}-yarn-
41
-
42
- - name : Build Android apk (release & debug)
24
+ - name : Build Android apk (release)
43
25
env :
44
- RN_VERSION : ${{ matrix.version }}
45
- RN_FOLDER : ${{ matrix.folder }}
46
26
ANDROID_NDK_HOME : /usr/local/lib/android/sdk/ndk/26.1.10909125
47
27
run : |
48
- echo $RN_VERSION $RN_FOLDER $ANDROID_NDK_HOME
49
- [[ "$RN_VERSION" == "reanimated-2" ]] && git clone --depth=1 https://github.com/software-mansion-labs/reanimated-2-playground.git "$RN_FOLDER" || npx react-native init "$RN_FOLDER" --version "$RN_VERSION"
50
28
npm ci --legacy-peer-deps
51
29
npm run build
52
- rm -rf node_modules
53
- cd "$RN_FOLDER"
54
- yarn add file:..
55
- cd ./android
30
+ cd example
31
+ npm ci --legacy-peer-deps
56
32
./gradlew assembleRelease
57
- ./gradlew assembleDebug
You can’t perform that action at this time.
0 commit comments