Merge pull request #1008 from Goooler/action

Bump setup-java actions to v2
This commit is contained in:
Shabinder Singh 2022-01-30 20:51:36 +05:30 committed by GitHub
commit a3705beda1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 7 deletions

View File

@ -23,9 +23,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/setup-java@v1.4.3
- uses: actions/setup-java@v2
with:
java-version: 1.8
distribution: 'zulu'
java-version: 8
- name: Build Web App
run: ./gradlew :web-app:build
- name: Upload Static Web App Artifact

View File

@ -8,8 +8,9 @@ jobs:
# Setup Java 1.8 environment for the next steps
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 15
# Check out current repository

View File

@ -10,8 +10,9 @@ jobs:
steps:
# Setup Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 15
# Check out current repository
@ -44,8 +45,9 @@ jobs:
steps:
# Setup Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 15
# Check out current repository
@ -92,8 +94,9 @@ jobs:
steps:
# Setup Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 15
# Check out current repository

View File

@ -13,8 +13,9 @@ jobs:
# Setup Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 15
# Check out current repository