Skip to content

Commit

Permalink
Merge pull request #13193 from gsmet/update-setup-jdk-2
Browse files Browse the repository at this point in the history
Update setup-jdk to avoid build warnings
  • Loading branch information
gsmet authored Nov 9, 2020
2 parents 5f16533 + fd1555a commit 0c08c3c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: .github/ci-prerequisites.sh
- name: Set up JDK 11
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 11
- name: Get Date
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:

- name: Set up JDK ${{ matrix.java.name }}
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: ${{ matrix.java.java-version }}
release: ${{ matrix.java.release }}
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
- uses: actions/checkout@v2
- name: Set up JDK 11
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 11
- name: Download Maven Repo
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
run: tar -xzf maven-repo.tgz -C ~
- name: Set up JDK ${{ matrix.java.name }}
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: ${{ matrix.java.java-version }}
- name: Run Maven integration tests
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
run: tar -xzf maven-repo.tgz -C ~
- name: Set up JDK 11
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 11
- name: Run Maven integration tests
Expand Down Expand Up @@ -307,7 +307,7 @@ jobs:
run: tar -xzf maven-repo.tgz -C ~
- name: Set up JDK ${{ matrix.java.name }}
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: ${{ matrix.java.java-version }}
- name: Build with Gradle
Expand All @@ -329,7 +329,7 @@ jobs:
- uses: actions/checkout@v2
- name: Set up JDK 11
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 11
- name: Download Maven Repo
Expand Down Expand Up @@ -376,7 +376,7 @@ jobs:
run: tar -xzf maven-repo.tgz -C ~
- name: Set up JDK ${{ matrix.java.name }}
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: ${{ matrix.java.java-version }}
- name: Run Devtools integration tests
Expand Down Expand Up @@ -411,7 +411,7 @@ jobs:
run: tar -xzf maven-repo.tgz -C ~
- name: Set up JDK 11
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 11
- name: Run Devtools integration tests
Expand Down Expand Up @@ -440,7 +440,7 @@ jobs:
run: .github/ci-prerequisites.sh
- name: Set up JDK 11
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 11
- name: Download Maven Repo
Expand Down Expand Up @@ -523,7 +523,7 @@ jobs:
- uses: actions/checkout@v2
- name: Set up JDK 11
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 11
- name: Reclaim Disk Space
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: .github/ci-prerequisites.sh
- name: Set up JDK 8
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 8
- name: Get Date
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up JDK 11
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 11
- name: Compute cache restore key
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/native-cron-build.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:

- name: Set up JDK ${{ matrix.java }}
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
if: matrix.java != '8'
with:
java-version: ${{ matrix.java }}

- name: Set up JDK ${{ matrix.java }}
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
if: matrix.java == '8'
with:
java-version: ${{ matrix.java }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: .github/ci-prerequisites.sh
- name: Set up JDK 8
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: 8
- name: Create maven repo
Expand Down

0 comments on commit 0c08c3c

Please sign in to comment.