Skip to content

Commit f92ae8b

Browse files
committed
fix build version extraction on ci
1 parent ccb539a commit f92ae8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
- name: Extract version number
4040
id: extract-version
4141
run: |
42-
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout -f source/java/pom.xml)
42+
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
4343
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
4444
4545
- name: Build extension
46-
run: ant -buildfile build.xml
46+
run: mvn -B -e -f pom.xml clean install -Dgoal=install
4747

4848
- name: Upload Artifact
4949
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)