Skip to content

Commit 2d7e146

Browse files
committed
chore: fix mvn command
1 parent 87be2fa commit 2d7e146

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/showcase-version-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
id: extract_version
3737
shell: bash
3838
run: |
39-
version=$(mvn help:evaluate -f java-showcase/gapic-showcase/pom.xml -Dexpression=gapic-showcase.version -q -DforceStdout 2>/dev/null || true)
39+
version=$(awk -F'[<>]' '/gapic-showcase.version/{print $3; exit}' java-showcase/gapic-showcase/pom.xml)
4040
echo "version=$version" >> "$GITHUB_OUTPUT"
4141
- name: Extract showcase commit from librarian.yaml
4242
id: extract_commit

0 commit comments

Comments
 (0)