Skip to content

Commit

Permalink
for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver committed May 7, 2024
1 parent b17b040 commit eafb1c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ jobs:
- uses: actions/setup-python@v5

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

- name: Set JAVA_HOME
run: echo "JAVA_HOME=${{ steps.setup-java-11.outputs.path }}" >> $GITHUB_ENV
run: echo "JAVA_HOME=${{ steps.setup-java-8.outputs.path }}" >> $GITHUB_ENV

- run: pip install --upgrade setuptools

- name: Run Test
env:
JAVA_HOME: ${{env.JAVA_HOME}}
shell: bash
run: JAVA_HOME=${{env.JAVA_HOME}} python setup.py test

0 comments on commit eafb1c0

Please sign in to comment.