Skip to content

Commit d5e857f

Browse files
committed
updates github java action to version 2, specifies java adopt as github action jdk
1 parent db9ff39 commit d5e857f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ jobs:
3030

3131
# Build
3232
- name: Set up JDK 11
33-
uses: actions/setup-java@v1
33+
uses: actions/setup-java@v2
3434
with:
35-
java-version: 11
35+
distribution: 'adopt' # See 'Supported distributions' for available options
36+
java-version: '11'
3637
- run: ./gradlew clean build
3738
env:
3839
NO_NEXUS: true

.github/workflows/gradle.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ jobs:
1717
- name: Build provisioning-app FE
1818
run: cd client && npm run build:prod
1919
- name: Set up JDK 11
20-
uses: actions/setup-java@v1
20+
uses: actions/setup-java@v2
2121
with:
22-
java-version: 11
22+
distribution: 'adopt' # See 'Supported distributions' for available options
23+
java-version: '11'
2324
- name: Build provisioning-app BE (copy the FE artifacts to 'build/resources/main/static/nfe')
2425
run: ./gradlew clean spotlessCheck build
2526
env:

0 commit comments

Comments
 (0)