Skip to content

Commit

Permalink
#TESTING-DOTCLI Update. +7
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolina committed Oct 15, 2024
1 parent e0d69b9 commit 7d8b6ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotcli-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
run: |
echo "::group::Get dotCLI runner"
if [ -z "$DOT_CLI_JAR_DOWNLOAD_URL" ]; then
curl -o -s maven-metadata.xml "https://repo.dotcms.com/artifactory/libs-release-local/com/dotcms/dotcms-cli/maven-metadata.xml"
curl -o maven-metadata.xml "https://repo.dotcms.com/artifactory/libs-release-local/com/dotcms/dotcms-cli/maven-metadata.xml"
LATEST_VERSION=$(xmllint --xpath "string(//versioning/latest)" maven-metadata.xml)
URL="https://repo.dotcms.com/artifactory/libs-release-local/com/dotcms/dotcms-cli/${LATEST_VERSION}/dotcms-cli-${LATEST_VERSION}-runner.jar"
MESSAGE="var.DOT_CLI_JAR_DOWNLOAD_URL is not set, fetching dotCLI runner from "$URL"
# MESSAGE="var.DOT_CLI_JAR_DOWNLOAD_URL is not set, fetching dotCLI runner from "$URL"
else
URL="$DOT_CLI_JAR_DOWNLOAD_URL"
MESSAGE="var.DOT_CLI_JAR_DOWNLOAD_URL is set, fetching dotCLI runner from $URL"
# MESSAGE="var.DOT_CLI_JAR_DOWNLOAD_URL is set, fetching dotCLI runner from $URL"
fi
echo "$MESSAGE"
echo "::notice::URL: $URL"
echo "url=$URL" >> "$GITHUB_OUTPUT"
echo "::endgroup::"
Expand Down

0 comments on commit 7d8b6ab

Please sign in to comment.