From 6ded2da85185d7293d6d4b5e1719f1a2d5e06e9f Mon Sep 17 00:00:00 2001 From: eddieh-xlnx Date: Tue, 14 Nov 2023 15:40:11 -0800 Subject: [PATCH 1/2] [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. --- .github/workflows/make.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 019f79c..e11a06b 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -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 From 831a39d95b6cd406cd5aeff57c0ffdda2f70271b Mon Sep 17 00:00:00 2001 From: eddieh-xlnx Date: Tue, 14 Nov 2023 15:47:11 -0800 Subject: [PATCH 2/2] Disable pip cache in scoring_criteria.yml Since it's not used. --- .github/workflows/scoring_criteria.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scoring_criteria.yml b/.github/workflows/scoring_criteria.yml index d9451db..958426f 100644 --- a/.github/workflows/scoring_criteria.yml +++ b/.github/workflows/scoring_criteria.yml @@ -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