We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0b8c99 commit 6b18e34Copy full SHA for 6b18e34
1 file changed
.github/workflows/build.yaml
@@ -29,20 +29,15 @@ jobs:
29
- name: checkout
30
uses: actions/checkout@v4
31
32
-# - name: install dasel
33
-# run: |
34
-# brew install dasel
35
-# cat $GITHUB_ENV
36
-
37
- name: extract version
38
run: |
39
- version=`yq -p xml -oy e '.project.version' pom.xml`
+ version=`yq -p xml -oy e '.project.version' pom.xml`
40
echo "BUILD_VERSION=${version#projectVersion=}" >> $GITHUB_ENV
41
cat $GITHUB_ENV
42
43
- name: find maven home
44
45
- maven_home=`./mvnw --version | sed -n '2p' | dasel -i yaml 'Maven home'`
+ maven_home=`./mvnw --version | sed -n '2p' | yq e '.["Maven home"]'`
46
echo "MAVEN_HOME=${maven_home}" >> $GITHUB_ENV
47
48
0 commit comments