File tree Expand file tree Collapse file tree 2 files changed +36
-41
lines changed Expand file tree Collapse file tree 2 files changed +36
-41
lines changed Original file line number Diff line number Diff line change 12
12
jobs :
13
13
generate-diffs-if-needed :
14
14
name : Generate diffs
15
- strategy :
16
- fail-fast : false
17
- matrix :
18
- type :
19
- # - module-legacy
20
- - module-mixed
21
- # - module-new
22
- # - view-legacy
23
- - view-mixed
24
- # - view-new
25
- language :
26
- - java-objc
27
- # - java-swift
28
- # - kotlin-objc
29
- # - kotlin-swift
30
- # exclude:
31
- # - type: module-new
32
- # language: java-swift
33
- # - type: module-new
34
- # language: kotlin-swift
35
- # - type: module-mixed
36
- # language: java-swift
37
- # - type: module-mixed
38
- # language: kotlin-swift
39
- # - type: view-new
40
- # language: java-swift
41
- # - type: view-new
42
- # language: kotlin-swift
43
- # - type: view-mixed
44
- # language: java-swift
45
- # - type: view-mixed
46
- # language: kotlin-swift
47
-
48
- concurrency :
49
- group : ${{ github.workflow }}-${{ github.ref }}-${{ matrix.type }}-${{ matrix.language }}
50
- cancel-in-progress : true
51
-
52
- # TODO: use ubuntu once CLI is fixed
53
15
runs-on : ubuntu-latest
54
16
steps :
55
17
- name : Checkout
62
24
run : |
63
25
yarn workspace create-react-native-library prepare
64
26
65
- - name : Create library
27
+ - name : Create old version libraries
66
28
run : |
29
+ source ./.github/workflows/configMatrix.sh
30
+ echo "$languages"
31
+
67
32
./packages/create-react-native-library/bin/create-react-native-library new-version \
68
33
--slug @bob/react-native-test \
69
34
--description test \
83
48
- name : Checkout main
84
49
run : git checkout origin/main
85
50
86
- - name : Setup again # Add a check here to setup again if deps changed
87
- uses : ./.github/actions/setup
51
+ # - name: Setup again # Add a check here to setup again if deps changed
52
+ # uses: ./.github/actions/setup
88
53
89
54
- name : Remove old build and build again
90
55
run : |
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Source this file to set up the environment for the tests.
4
+
5
+ export libraryTypes=(
6
+ module-legacy
7
+ module-mixed
8
+ module-new
9
+ view-legacy
10
+ view-mixed
11
+ view-new
12
+ )
13
+
14
+ export languages=(
15
+ java-objc
16
+ java-swift
17
+ kotlin-objc
18
+ kotlin-swift
19
+ )
20
+
21
+ export exclude=(
22
+ module-new/java-swift
23
+ module-new/kotlin-swift
24
+ module-mixed/java-swift
25
+ module-mixed/kotlin-swift
26
+ view-new/java-swift
27
+ view-new/kotlin-swift
28
+ view-mixed/java-swift
29
+ view-mixed/kotlin-swift
30
+ )
You can’t perform that action at this time.
0 commit comments