Fix property extraction command in build

This commit is contained in:
Mahmoud Ben Hassine
2023-12-11 11:07:38 +01:00
parent ff289e9d1f
commit 289008648c

View File

@@ -25,7 +25,7 @@ jobs:
- name: Extract project version
run: |
echo PROJECT_VERSION=$(./gradlew properties | grep version | cut -d: -f2 | xargs) >> $GITHUB_ENV
echo PROJECT_VERSION=$(./gradlew properties | grep version | cut -d: -f2 | awk '{$1=$1};1') >> $GITHUB_ENV
- name: Setup JFrog Cli
uses: jfrog/setup-jfrog-cli@901bb9632db90821c2d3f076012bdeaf66598555 # v3.4.1