Skip to content

Commit

Permalink
Fix build package CI warnings (#3942)
Browse files Browse the repository at this point in the history
## Summary

This PR removes the following warnings that appear when building package
on CI:

<img width="1117" alt="warnings"
src="https://user-images.githubusercontent.com/20516055/212144919-115026e9-7df7-4bfd-b3ea-dfc8f5fdbdf8.png">

Before:
https://github.com/software-mansion/react-native-reanimated/actions/runs/3902166126

After:
https://github.com/software-mansion/react-native-reanimated/actions/runs/3904875919


## Test plan

Check if package is okay.
  • Loading branch information
tomekzaw committed Jan 17, 2023
1 parent 9db16ad commit b1167ff
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-npm-package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v1
uses: actions/checkout@v3
with:
ref: ${{ inputs.ref }}

- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'

- name: Install NDK
Expand All @@ -42,7 +43,7 @@ jobs:
- run: echo "PACKAGE_NAME=$(ls -l | egrep -o "react-native-reanimated-(.*)(=?\.tgz)")" >> $GITHUB_ENV

- name: Upload npm package
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.PACKAGE_NAME }}
path: '*.tgz'
Expand All @@ -53,7 +54,7 @@ jobs:

- name: Upload Android build folder
if: ${{ inputs.upload_binaries }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: android-build-output
path: android-build-output.zip
Expand Down

0 comments on commit b1167ff

Please sign in to comment.