Skip to content

Commit

Permalink
Add shell bash
Browse files Browse the repository at this point in the history
  • Loading branch information
loicgreffier committed Feb 12, 2025
1 parent 30e1fa7 commit 8d1a25c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,8 @@ jobs:
id: build_native
run: |
mvn clean package -Pnative -PnativeTest
if [ ${{ matrix.os }} == 'windows-latest' ]; then
$version=$(mvn help:evaluate -Dexpression='project.version' -q -DforceStdout)
"current_version=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append
else
echo current_version=$(echo $(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)) >> $GITHUB_OUTPUT
fi
echo current_version=$(echo $(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)) >> $GITHUB_OUTPUT
shell: bash

- name: Publish native test report
if: always()
Expand Down

0 comments on commit 8d1a25c

Please sign in to comment.