diff --git a/.github/workflows/release_pyton_pytest.yml b/.github/workflows/release_pyton_pytest.yml index 3e0252a..e59ea97 100644 --- a/.github/workflows/release_pyton_pytest.yml +++ b/.github/workflows/release_pyton_pytest.yml @@ -41,6 +41,16 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.10' + - uses: sdkman/sdkman-action@v1 + id: sdkman + with: + candidate: java + version: 24.0.1.r22-nik + - uses: sdkman/sdkman-action@v1 + id: sdkman-gradle + with: + candidate: gradle + version: '8.8' - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -93,6 +103,22 @@ jobs: with: python-version: '3.10' architecture: ${{ matrix.platform.target }} + - uses: sdkman/sdkman-action@v1 + id: sdkman + with: + candidate: java + version: 24.0.1.r22-nik + - uses: actions/setup-java@v3 + id: setup-java + with: + distribution: 'jdkfile' + java-version: '22' + jdkFile: ${{ steps.sdkman.outputs.file }} + - uses: sdkman/sdkman-action@v1 + id: sdkman-gradle + with: + candidate: gradle + version: '8.8' - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -128,6 +154,16 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.10' + - uses: sdkman/sdkman-action@v1 + id: sdkman + with: + candidate: java + version: 24.0.1.r22-nik + - uses: sdkman/sdkman-action@v1 + id: sdkman-gradle + with: + candidate: gradle + version: '8.8' - name: Build wheels uses: PyO3/maturin-action@v1 with: