Skip to content

Commit

Permalink
Setup Java in BEFORE_BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver committed Oct 22, 2024
1 parent 362527e commit 17629ee
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build_ft_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
uv venv --python 3.13t
source .venv/bin/activate
uv pip install pip
echo $JAVA_HOME
echo PATH=$PATH >> $GITHUB_ENV
- run: ${{ matrix.info.cmd }}
Expand Down Expand Up @@ -76,12 +77,6 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- uses: actions/setup-java@v4
id: setup-java
with:
distribution: 'temurin'
java-version: '8'

# - uses: astral-sh/setup-uv@v3
# - run: |
# uv python install 3.13t
Expand All @@ -96,6 +91,8 @@ jobs:
CIBW_FREE_THREADED_SUPPORT: true
CIBW_ARCHS_LINUX: "aarch64"
CIBW_BUILD: "cp313t-*"
CIBW_BEFORE_BUILD: apt-get -qq -y --no-install-recommends install temurin-8-jdk maven
CIBW_ENVIRONMENT: JAVA_HOME=JAVA_HOME=/usr/lib/jvm/temurin-8-jdk-aarch64
with:
package-dir: .
output-dir: dist
Expand Down

0 comments on commit 17629ee

Please sign in to comment.