Skip to content

Commit

Permalink
[Actions] Downgrade to Java 17 (Xilinx#41)
Browse files Browse the repository at this point in the history
* [Actions] Downgrade to Java 17

Unfortunately, it looks like even the latest Gradle (8.4 currently) does not support running itself (but it does building other applications) using Java 21.

Downgrading to Java 17 to keep things simple.

* Disable pip cache in scoring_criteria.yml

Since it's not used.
  • Loading branch information
eddieh-xlnx authored Nov 15, 2023
1 parent 718a308 commit 2a11b91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
java-version: '17'
cache: 'gradle'
- if: matrix.router == 'nxroute-poc'
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scoring_criteria.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
#cache: 'pip'
- run: |
cd scoring_formula
python3 -m unittest test_scoring_formula.py -v

0 comments on commit 2a11b91

Please sign in to comment.