Skip to content

Commit 8fcd162

Browse files
committed
[GHA] Corrections
1 parent 9c89a60 commit 8fcd162

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/gh-hosted-eclipse-distro-build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,9 @@ jobs:
109109
dist_path=${{ inputs.build_type }}/dist/$eclipse_version
110110
p2_path=${{ inputs.build_type }}/update/$eclipse_version
111111
else
112-
cd eclipse-distributions
113-
version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
114-
version_segment="${version%%-*}"
115112
p2_qualifier=${{ inputs.p2-qualifier }}
116113
if ! [[ -z ${p2_qualifier} ]]; then
117-
version_segment="${version_segment}.${p2_qualifier}
114+
version_segment=${{ steps.project-version.outputs.version }}.$p2_qualifier
118115
fi
119116
dist_path=${{ inputs.build_type }}/dist/$version_segment/$eclipse_version
120117
p2_path=${{ inputs.build_type }}/update/$version_segment/$eclipse_version

0 commit comments

Comments
 (0)