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

@ -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"