Skip to content

Commit 7b73a60

Browse files
build: test for file existence with correct filename (#2370)
1 parent eb41951 commit 7b73a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/publish-maven.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ cd maven-java
3434
MVN_SETTINGS_FILE="$HOME/.m2/settings.xml"
3535
mkdir -p "$(dirname "$MVN_SETTINGS_FILE")"
3636

37-
if [ -f "$XML_FILE" ]; then
37+
if [ -f "$MVN_SETTINGS_FILE" ]; then
3838
echo "⚙️ Settings file found. Merging publishing configuration..."
3939
xmlstarlet ed -L \
4040
-s /settings -t elem -n servers -v "" \

0 commit comments

Comments
 (0)