Skip to content

Commit

Permalink
fixed JDK version in JS/C# jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
arcuri82 committed Feb 15, 2022
1 parent ac7a8fb commit d3873d1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
# For some "hilarious" case, see:
# https://github.com/EMResearch/EvoMaster/issues/447
release-jdk: 17
build-jdk: 1.8
retention-days: 3


Expand All @@ -30,10 +31,10 @@ jobs:
- uses: actions/checkout@v2

# Build/test for JDK
- name: Setup JDK 8
- name: Setup JDK ${{env.build-jdk}}
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: ${{env.build-jdk}}
- name: Cache Maven packages
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -111,10 +112,10 @@ jobs:
working-directory: ./client-js/integration-tests
- run: npm run test
working-directory: ./client-js/integration-tests
- name: Setup JDK ${{env.release-jdk}}
- name: Setup JDK ${{env.build-jdk}}
uses: actions/setup-java@v1
with:
java-version: ${{env.release-jdk}}
java-version: ${{env.build-jdk}}
- name: Download fat jar
uses: actions/download-artifact@v2
with:
Expand All @@ -141,10 +142,10 @@ jobs:
run: dotnet build --configuration Release
- name: Unit tests for .NET
run: dotnet test
- name: Setup JDK ${{env.release-jdk}}
- name: Setup JDK ${{env.build-jdk}}
uses: actions/setup-java@v1
with:
java-version: ${{env.release-jdk}}
java-version: ${{env.build-jdk}}
- name: Download fat jar
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit d3873d1

Please sign in to comment.