Skip to content

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /wrappers/react-native #759

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /wrappers/react-native

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /wrappers/react-native #759

Workflow file for this run

name: ci-java
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build_test:
name: Build & Test Java Wrapper
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./wrappers/java
steps:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]
- name: Setup rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
profile: minimal
toolchain: stable
override: true
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: "11"
distribution: "adopt"
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew build
- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties