Skip to content

Commit c0c9b7b

Browse files
authored
Merge pull request #145 from callstack/update-ci
Update CI, Node.js 16 actions are deprecated.
2 parents 19cb342 + 2f24c46 commit c0c9b7b

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/actions/build-app/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ runs:
8080
8181
# Update pods after adding new module
8282
npx pod-install
83-
83+
8484
# Build iOS App
8585
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
8888
echo "app_path=$(find ~/Library/Developer/Xcode/DerivedData -type d -name "${{ env.APP_NAME }}.app")" >> $GITHUB_OUTPUT
8989
else
9090
# Enable new arch for Android
@@ -94,13 +94,13 @@ runs:
9494
9595
# Build Android
9696
./android/gradlew assembleRelease --no-daemon -p android -PreactNativeArchitectures=${{ inputs.arch }}
97-
97+
9898
# set output variable
9999
echo "app_path=$(find $(pwd)/android -type f -name '*.apk')" >> $GITHUB_OUTPUT
100100
fi
101101
102102
- name: Store Android artifacts on GitHub
103-
uses: actions/upload-artifact@v3
103+
uses: actions/upload-artifact@v4
104104
if: ${{ inputs.store-artifacts == 'true' }}
105105
with:
106106
name: ${{ inputs.platform }}-${{ inputs.rn-ver }}-newArch${{ inputs.new-arch-enabled }}

.github/actions/install-dependencies/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818

1919

2020
- name: Restore example node_modules from cache
21-
uses: actions/cache/restore@v3
21+
uses: actions/cache/restore@v4
2222
id: restore_example_node_modules
2323
with:
2424
key: ${{ runner.os }}-yarn-example-${{ hashFiles('./example/yarn.lock') }}
@@ -41,15 +41,15 @@ runs:
4141
4242
- name: Save example node_modules to cache
4343
if: steps.restore_example_node_modules.outputs.cache-hit != 'true'
44-
uses: actions/cache/save@v3
44+
uses: actions/cache/save@v4
4545
with:
4646
key: ${{ steps.restore_example_node_modules.outputs.cache-primary-key }}
4747
path: ${{ github.workspace }}/example/node_modules
4848

4949

5050

5151
- name: Restore node_modules from cache
52-
uses: actions/cache/restore@v3
52+
uses: actions/cache/restore@v4
5353
id: restore_node_modules
5454
with:
5555
key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}
@@ -71,7 +71,7 @@ runs:
7171
7272
- name: Save node_modules to cache
7373
if: steps.restore_node_modules.outputs.cache-hit != 'true'
74-
uses: actions/cache/save@v3
74+
uses: actions/cache/save@v4
7575
with:
7676
key: ${{ steps.restore_node_modules.outputs.cache-primary-key }}
7777
path: ${{ github.workspace }}/node_modules

.github/actions/lock-java-ver/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: Setup Java ${{ inputs.java-version }}
13-
uses: actions/setup-java@v3
13+
uses: actions/setup-java@v4
1414
with:
1515
distribution: 'temurin'
1616
java-version: ${{ inputs.java-version }}

.github/actions/lock-nodejs-ver/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: Setup Node.js ${{ inputs.node-version }}
13-
uses: actions/setup-node@v3
13+
uses: actions/setup-node@v4
1414
with:
1515
node-version: ${{ inputs.node-version }}

0 commit comments

Comments
 (0)