Skip to content

Commit 548a491

Browse files
committed
1.2 - Fixing workflow
1 parent 4c2188f commit 548a491

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ jobs:
9595
cp $module/target/$ART-javadoc.jar maven-repo/me/croabeast/$ARTIFACT_ID/${{ env.VERSION }}/ || true
9696
9797
# Create minimal POM
98-
cat > maven-repo/me/croabeast/$ARTIFACT_ID/${{ env.VERSION }}/$ART.jar.pom <<EOF
98+
cat > maven-repo/me/croabeast/$ARTIFACT_ID/${{ env.VERSION }}/$ART.pom << EOF
99+
<?xml version="1.0" encoding="UTF-8"?>
99100
<project>
100101
<modelVersion>4.0.0</modelVersion>
101102
<groupId>me.croabeast</groupId>
@@ -106,7 +107,8 @@ jobs:
106107
EOF
107108
108109
# Update metadata
109-
cat > maven-repo/me/croabeast/$ARTIFACT_ID/maven-metadata.xml <<EOF
110+
cat > maven-repo/me/croabeast/$ARTIFACT_ID/maven-metadata.xml << EOF
111+
<?xml version="1.0" encoding="UTF-8"?>
110112
<metadata>
111113
<groupId>me.croabeast</groupId>
112114
<artifactId>$ARTIFACT_ID</artifactId>

0 commit comments

Comments
 (0)