Skip to content

Commit 0e0d92e

Browse files
authored
Merge branch 'openJdk17' into master
2 parents f603b6e + d9802be commit 0e0d92e

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
unitAndFunctionalTests:
2020
if: github.repository == 'eiffel-community/eiffel-intelligence-frontend'
2121
# The type of runner that the job will run on
22+
2223
runs-on: ubuntu-latest
2324
env:
2425
EI_BACKEND_PORT: 8099
@@ -29,13 +30,11 @@ jobs:
2930
steps:
3031
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3132
- uses: actions/checkout@v3
33+
3234
- uses: actions/setup-java@v3
3335
with:
3436
distribution: 'temurin'
3537
java-version: '17'
36-
37-
# Runs a set of commands using the runners shell
38-
# Run before every job
3938

4039
- name: Install Maven
4140
shell: bash
@@ -52,6 +51,7 @@ jobs:
5251
integrationTests:
5352
if: github.repository == 'eiffel-community/eiffel-intelligence-frontend'
5453
# The type of runner that the job will run on
54+
5555
runs-on: ubuntu-latest
5656
env:
5757
EI_BACKEND_PORT: 8099
@@ -62,10 +62,23 @@ jobs:
6262
steps:
6363
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
6464
- uses: actions/checkout@v3
65+
6566
- uses: actions/setup-java@v3
6667
with:
6768
distribution: 'temurin'
6869
java-version: '17'
70+
71+
72+
# Runs a set of commands using the runners shell
73+
# Run before every job
74+
- name: Install Java
75+
run: |
76+
sudo apt-get update
77+
sudo apt-get install -y openjdk-8-jdk
78+
java -version
79+
uname -a
80+
chmod +x pom.xml
81+
mvn --version
6982
7083
- name: Install Maven
7184
shell: bash
@@ -105,6 +118,7 @@ jobs:
105118
reportCoverage:
106119
if: github.repository == 'eiffel-community/eiffel-intelligence-frontend' && github.event_name == 'push'
107120
# The type of runner that the job will run on
121+
108122
runs-on: ubuntu-latest
109123
env:
110124
EI_BACKEND_PORT: 8099
@@ -115,6 +129,7 @@ jobs:
115129
steps:
116130
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
117131
- uses: actions/checkout@v3
132+
118133
- uses: actions/setup-java@v3
119134
with:
120135
distribution: 'temurin'

0 commit comments

Comments
 (0)