Skip to content

Commit 39c3d6b

Browse files
authored
Merge pull request #4 from prefab-cloud/fix/publishing-workflow-improvements
Fix publishing workflow version extraction timeout
2 parents 4dc12f1 + 3e08bc7 commit 39c3d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Extract version from pom.xml
2929
id: extract_version
3030
run: |
31-
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
31+
VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
3232
echo "version=$VERSION" >> $GITHUB_OUTPUT
3333
echo "Current version: $VERSION"
3434

0 commit comments

Comments
 (0)