mirror of
https://gitea.com/actions/setup-java.git
synced 2025-04-06 07:19:39 +00:00
Rename v2-preview to v2 in docs and tests (#151)
This commit is contained in:
@ -5,7 +5,7 @@ Use the `zulu` keyword if you would like to continue using the same distribution
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v2-preview
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '11'
|
||||
@ -22,7 +22,7 @@ steps:
|
||||
- run: |
|
||||
download_url="https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.10%2B9/OpenJDK11U-jdk_x64_linux_hotspot_11.0.10_9.tar.gz"
|
||||
wget -O $RUNNER_TEMP/java_package.tar.gz $download_url
|
||||
- uses: actions/setup-java@v2-preview
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'jdkFile'
|
||||
jdkFile: ${{ runner.temp }}/java_package.tar.gz
|
||||
|
Reference in New Issue
Block a user