resolve comments

This commit is contained in:
Maxim Lobanov 2021-03-09 10:57:43 +03:00
parent f02cd997d9
commit 87febe147a
4 changed files with 12 additions and 4 deletions

View file

@ -5,6 +5,7 @@ on:
branches: branches:
- main - main
- releases/* - releases/*
- v2-preview
paths-ignore: paths-ignore:
- '**.md' - '**.md'
pull_request: pull_request:

View file

@ -4,6 +4,7 @@ on:
branches: branches:
- main - main
- releases/* - releases/*
- v2-preview
paths-ignore: paths-ignore:
- '**.md' - '**.md'
pull_request: pull_request:
@ -21,7 +22,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- run: | - name: Download Adopt OpenJDK file
run: |
if ($IsLinux) { 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" $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" $localFilename = "java_package.tar.gz"
@ -57,7 +59,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- run: | - name: Download Zulu OpenJDK file
run: |
if ($IsLinux) { if ($IsLinux) {
$downloadUrl = "https://cdn.azul.com/zulu/bin/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz" $downloadUrl = "https://cdn.azul.com/zulu/bin/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz"
$localFilename = "java_package.tar.gz" $localFilename = "java_package.tar.gz"

View file

@ -4,6 +4,7 @@ on:
branches: branches:
- main - main
- releases/* - releases/*
- v2-preview
paths-ignore: paths-ignore:
- '**.md' - '**.md'
pull_request: pull_request:
@ -29,7 +30,8 @@ jobs:
server-username: MAVEN_USERNAME server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN server-password: MAVEN_CENTRAL_TOKEN
gpg-passphrase: MAVEN_GPG_PASSPHRASE gpg-passphrase: MAVEN_GPG_PASSPHRASE
- run: | - name: Validate settings.xml
run: |
$homePath = $env:USERPROFILE $homePath = $env:USERPROFILE
if (-not $homePath) { if (-not $homePath) {
$homePath = $env:HOME $homePath = $env:HOME
@ -68,7 +70,8 @@ jobs:
server-password: MAVEN_CENTRAL_TOKEN server-password: MAVEN_CENTRAL_TOKEN
gpg-passphrase: MAVEN_GPG_PASSPHRASE gpg-passphrase: MAVEN_GPG_PASSPHRASE
settings-path: ${{ runner.temp }} settings-path: ${{ runner.temp }}
- run: | - name: Validate settings.xml location
run: |
$path = Join-Path $env:RUNNER_TEMP "settings.xml" $path = Join-Path $env:RUNNER_TEMP "settings.xml"
if (-not (Test-Path $path)) { if (-not (Test-Path $path)) {
throw "settings.xml file is not found in expected location" throw "settings.xml file is not found in expected location"

View file

@ -4,6 +4,7 @@ on:
branches: branches:
- main - main
- releases/* - releases/*
- v2-preview
paths-ignore: paths-ignore:
- '**.md' - '**.md'
pull_request: pull_request: