This is an automated email from the ASF dual-hosted git repository.
NSAmelchev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 0226b5db306 IGNITE-28643 Fixed website documentation publishing job
(#13102)
0226b5db306 is described below
commit 0226b5db306b1b9cde0d079ebd5d3beb96774bbf
Author: Nikita Amelchev <[email protected]>
AuthorDate: Tue May 5 12:10:34 2026 +0300
IGNITE-28643 Fixed website documentation publishing job (#13102)
---
.github/workflows/publish-website-on-branch-update.yml | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/publish-website-on-branch-update.yml
b/.github/workflows/publish-website-on-branch-update.yml
index dc38cdef252..84097f3329f 100644
--- a/.github/workflows/publish-website-on-branch-update.yml
+++ b/.github/workflows/publish-website-on-branch-update.yml
@@ -44,15 +44,20 @@ jobs:
- name: Check out 'ignite' repository code
uses: actions/checkout@v3
- - name: Check that the version was released
- run: |
- mvn org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce
-Drules=requireReleaseDeps,requireReleaseVersion -pl modules/core
-
- name: Get the version from POM file
run: |
version=$(mvn help:evaluate -Dexpression=project.version -q
-DforceStdout)
echo "IGNITE_VERSION=$version" >> $GITHUB_ENV
+ - name: Check that the version was released
+ run: |
+
URL="https://repo.maven.apache.org/maven2/org/apache/ignite/ignite-core/${IGNITE_VERSION}/ignite-core-${IGNITE_VERSION}.pom"
+
+ if ! curl --silent --show-error --fail --head "$URL"; then
+ echo "ignite-core:${IGNITE_VERSION} not found in Maven Central"
+ exit 1
+ fi
+
- name: Check out 'ignite-website' repository code
uses: actions/checkout@v3
with: