Skip to content

[Backport] [2.x] Bump actions/setup-java from 3 to 4 (#11447) #2039

[Backport] [2.x] Bump actions/setup-java from 3 to 4 (#11447)

[Backport] [2.x] Bump actions/setup-java from 3 to 4 (#11447) #2039

Workflow file for this run

name: Gradle Assemble
on: [pull_request]
jobs:
assemble:
if: github.repository == 'opensearch-project/OpenSearch'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Setup docker (missing on MacOS)
if: runner.os == 'macos'
run: |
brew install docker
colima start
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
- name: Run Gradle (assemble)
run: |
./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE