mirror of
https://github.com/actions/setup-java.git
synced 2026-07-08 14:21:50 +00:00
Fix e2e-versions: remove duplicate job, update signature jobs to checkout@v7 with env vars
This commit is contained in:
parent
45cdfed036
commit
673ccf9f5b
41
.github/workflows/e2e-versions.yml
vendored
41
.github/workflows/e2e-versions.yml
vendored
@ -339,7 +339,9 @@ jobs:
|
|||||||
version: ['21', '17']
|
version: ['21', '17']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
- name: setup-java with signature verification
|
- name: setup-java with signature verification
|
||||||
uses: ./
|
uses: ./
|
||||||
id: setup-java
|
id: setup-java
|
||||||
@ -348,30 +350,10 @@ jobs:
|
|||||||
distribution: temurin
|
distribution: temurin
|
||||||
verify-signature: true
|
verify-signature: true
|
||||||
- name: Verify Java
|
- name: Verify Java
|
||||||
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
|
env:
|
||||||
shell: bash
|
JAVA_VERSION: ${{ matrix.version }}
|
||||||
|
JAVA_PATH: ${{ steps.setup-java.outputs.path }}
|
||||||
setup-java-temurin-signature-verification:
|
run: bash __tests__/verify-java.sh "$JAVA_VERSION" "$JAVA_PATH"
|
||||||
name: temurin ${{ matrix.version }} signature verification - ${{ matrix.os }}
|
|
||||||
needs: setup-java-major-minor-versions
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
|
||||||
version: ['21', '17']
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v6
|
|
||||||
- name: setup-java with signature verification
|
|
||||||
uses: ./
|
|
||||||
id: setup-java
|
|
||||||
with:
|
|
||||||
java-version: ${{ matrix.version }}
|
|
||||||
distribution: temurin
|
|
||||||
verify-signature: true
|
|
||||||
- name: Verify Java
|
|
||||||
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
setup-java-microsoft-signature-verification:
|
setup-java-microsoft-signature-verification:
|
||||||
@ -385,7 +367,9 @@ jobs:
|
|||||||
version: ['21', '17']
|
version: ['21', '17']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
- name: setup-java with signature verification
|
- name: setup-java with signature verification
|
||||||
uses: ./
|
uses: ./
|
||||||
id: setup-java
|
id: setup-java
|
||||||
@ -394,7 +378,10 @@ jobs:
|
|||||||
distribution: microsoft
|
distribution: microsoft
|
||||||
verify-signature: true
|
verify-signature: true
|
||||||
- name: Verify Java
|
- name: Verify Java
|
||||||
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
|
env:
|
||||||
|
JAVA_VERSION: ${{ matrix.version }}
|
||||||
|
JAVA_PATH: ${{ steps.setup-java.outputs.path }}
|
||||||
|
run: bash __tests__/verify-java.sh "$JAVA_VERSION" "$JAVA_PATH"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
setup-java-ea-versions-sapmachine:
|
setup-java-ea-versions-sapmachine:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user