mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
resolve comments
This commit is contained in:
parent
f02cd997d9
commit
87febe147a
4 changed files with 12 additions and 4 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
- releases/*
|
||||
- v2-preview
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
pull_request:
|
||||
|
|
7
.github/workflows/e2e-local-file.yml
vendored
7
.github/workflows/e2e-local-file.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
- releases/*
|
||||
- v2-preview
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
pull_request:
|
||||
|
@ -21,7 +22,8 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- run: |
|
||||
- name: Download Adopt OpenJDK file
|
||||
run: |
|
||||
if ($IsLinux) {
|
||||
$downloadUrl = "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.10%2B9/OpenJDK11U-jdk_x64_linux_hotspot_11.0.10_9.tar.gz"
|
||||
$localFilename = "java_package.tar.gz"
|
||||
|
@ -57,7 +59,8 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- run: |
|
||||
- name: Download Zulu OpenJDK file
|
||||
run: |
|
||||
if ($IsLinux) {
|
||||
$downloadUrl = "https://cdn.azul.com/zulu/bin/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz"
|
||||
$localFilename = "java_package.tar.gz"
|
||||
|
|
7
.github/workflows/e2e-publishing.yml
vendored
7
.github/workflows/e2e-publishing.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
- releases/*
|
||||
- v2-preview
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
pull_request:
|
||||
|
@ -29,7 +30,8 @@ jobs:
|
|||
server-username: MAVEN_USERNAME
|
||||
server-password: MAVEN_CENTRAL_TOKEN
|
||||
gpg-passphrase: MAVEN_GPG_PASSPHRASE
|
||||
- run: |
|
||||
- name: Validate settings.xml
|
||||
run: |
|
||||
$homePath = $env:USERPROFILE
|
||||
if (-not $homePath) {
|
||||
$homePath = $env:HOME
|
||||
|
@ -68,7 +70,8 @@ jobs:
|
|||
server-password: MAVEN_CENTRAL_TOKEN
|
||||
gpg-passphrase: MAVEN_GPG_PASSPHRASE
|
||||
settings-path: ${{ runner.temp }}
|
||||
- run: |
|
||||
- name: Validate settings.xml location
|
||||
run: |
|
||||
$path = Join-Path $env:RUNNER_TEMP "settings.xml"
|
||||
if (-not (Test-Path $path)) {
|
||||
throw "settings.xml file is not found in expected location"
|
||||
|
|
1
.github/workflows/e2e-versions.yml
vendored
1
.github/workflows/e2e-versions.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
- releases/*
|
||||
- v2-preview
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
pull_request:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue