mirror of
https://github.com/actions/setup-java.git
synced 2025-02-22 12:21:01 -05:00
chore(e2e-versions): Add e2e test scenario on setup-java-version-from-file-major-minor-patch-with-dist
for .sdkmanrc
This commit is contained in:
parent
28b532bcb3
commit
72c7ceb97a
1 changed files with 4 additions and 1 deletions
5
.github/workflows/e2e-versions.yml
vendored
5
.github/workflows/e2e-versions.yml
vendored
|
@ -488,7 +488,7 @@ jobs:
|
|||
matrix:
|
||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||
distribution: ['adopt', 'zulu', 'liberica']
|
||||
java-version-file: ['.java-version', '.tool-versions']
|
||||
java-version-file: ['.java-version', '.tool-versions', '.sdkmanrc']
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -498,6 +498,9 @@ jobs:
|
|||
- name: Create .tool-versions file
|
||||
shell: bash
|
||||
run: echo "java openjdk64-17.0.10" > .tool-versions
|
||||
- name: Create .sdkmanrc file
|
||||
shell: bash
|
||||
run: echo "java=17.0.10-tem" > .sdkmanrc
|
||||
- name: setup-java
|
||||
uses: ./
|
||||
id: setup-java
|
||||
|
|
Loading…
Add table
Reference in a new issue