diff --git a/.github/workflows/react-native-contract-tests.yml b/.github/workflows/react-native-contract-tests.yml index 5abc2d81a2..5bab4eb855 100644 --- a/.github/workflows/react-native-contract-tests.yml +++ b/.github/workflows/react-native-contract-tests.yml @@ -49,7 +49,7 @@ jobs: # Java setup is after expo prebuild so that it can locate the gradle configuration. - name: Setup Java # https://github.com/actions/setup-java/releases/tag/v5.2.0 - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 + uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: distribution: temurin java-version: 17 diff --git a/.github/workflows/react-native-detox.yml b/.github/workflows/react-native-detox.yml index b447ea44b1..5da57b0d30 100644 --- a/.github/workflows/react-native-detox.yml +++ b/.github/workflows/react-native-detox.yml @@ -61,7 +61,7 @@ jobs: # Java setup is after checkout and expo prebuild so that it can locate the # gradle configuration. - name: Setup Java - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 + uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: distribution: temurin java-version: 17