Skip to content

Commit

Permalink
ci: add sdkman steps to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nmammeri committed Jun 8, 2024
1 parent c7cc4a8 commit 50a2e4f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release_pyton_pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 50a2e4f

Please sign in to comment.