File tree 4 files changed +11
-11
lines changed 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ runs:
80
80
81
81
# Update pods after adding new module
82
82
npx pod-install
83
-
83
+
84
84
# Build iOS App
85
85
xcodebuild -scheme ${{ env.APP_NAME }} -workspace ios/${{ env.APP_NAME }}.xcworkspace -configuration Release -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' | xcbeautify --quiet
86
-
87
- # set output variable
86
+
87
+ # set output variable
88
88
echo "app_path=$(find ~/Library/Developer/Xcode/DerivedData -type d -name "${{ env.APP_NAME }}.app")" >> $GITHUB_OUTPUT
89
89
else
90
90
# Enable new arch for Android
@@ -94,13 +94,13 @@ runs:
94
94
95
95
# Build Android
96
96
./android/gradlew assembleRelease --no-daemon -p android -PreactNativeArchitectures=${{ inputs.arch }}
97
-
97
+
98
98
# set output variable
99
99
echo "app_path=$(find $(pwd)/android -type f -name '*.apk')" >> $GITHUB_OUTPUT
100
100
fi
101
101
102
102
- name : Store Android artifacts on GitHub
103
- uses : actions/upload-artifact@v3
103
+ uses : actions/upload-artifact@v4
104
104
if : ${{ inputs.store-artifacts == 'true' }}
105
105
with :
106
106
name : ${{ inputs.platform }}-${{ inputs.rn-ver }}-newArch${{ inputs.new-arch-enabled }}
Original file line number Diff line number Diff line change 18
18
19
19
20
20
- name : Restore example node_modules from cache
21
- uses : actions/cache/restore@v3
21
+ uses : actions/cache/restore@v4
22
22
id : restore_example_node_modules
23
23
with :
24
24
key : ${{ runner.os }}-yarn-example-${{ hashFiles('./example/yarn.lock') }}
@@ -41,15 +41,15 @@ runs:
41
41
42
42
- name : Save example node_modules to cache
43
43
if : steps.restore_example_node_modules.outputs.cache-hit != 'true'
44
- uses : actions/cache/save@v3
44
+ uses : actions/cache/save@v4
45
45
with :
46
46
key : ${{ steps.restore_example_node_modules.outputs.cache-primary-key }}
47
47
path : ${{ github.workspace }}/example/node_modules
48
48
49
49
50
50
51
51
- name : Restore node_modules from cache
52
- uses : actions/cache/restore@v3
52
+ uses : actions/cache/restore@v4
53
53
id : restore_node_modules
54
54
with :
55
55
key : ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}
71
71
72
72
- name : Save node_modules to cache
73
73
if : steps.restore_node_modules.outputs.cache-hit != 'true'
74
- uses : actions/cache/save@v3
74
+ uses : actions/cache/save@v4
75
75
with :
76
76
key : ${{ steps.restore_node_modules.outputs.cache-primary-key }}
77
77
path : ${{ github.workspace }}/node_modules
Original file line number Diff line number Diff line change 10
10
using : ' composite'
11
11
steps :
12
12
- name : Setup Java ${{ inputs.java-version }}
13
- uses : actions/setup-java@v3
13
+ uses : actions/setup-java@v4
14
14
with :
15
15
distribution : ' temurin'
16
16
java-version : ${{ inputs.java-version }}
Original file line number Diff line number Diff line change 10
10
using : ' composite'
11
11
steps :
12
12
- name : Setup Node.js ${{ inputs.node-version }}
13
- uses : actions/setup-node@v3
13
+ uses : actions/setup-node@v4
14
14
with :
15
15
node-version : ${{ inputs.node-version }}
You can’t perform that action at this time.
0 commit comments