Skip to content

Commit

Permalink
Revert "Merge job"
Browse files Browse the repository at this point in the history
  • Loading branch information
loicgreffier committed Feb 12, 2025
1 parent ddca559 commit b5e171e
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,19 @@ jobs:
run: mvn checkstyle:check

- name: Build and test
id: build_native
run: mvn clean package -Pnative -PnativeTest

- name: Version
id: native_version
if: matrix.os != 'windows-latest'
run: echo current_version=$(echo $(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)) >> $GITHUB_OUTPUT

- name: Version
id: native_version
if: matrix.os == 'windows-latest'
run: |
mvn clean package -DskipTests -Pnative -PnativeTest
echo current_version=$(echo $(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)) >> $GITHUB_OUTPUT
shell: bash
$current_version=(& mvn help:evaluate -Dexpression='project.version' -q -DforceStdout)
"current_version=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append
- name: Publish native test report
if: always()
Expand Down

0 comments on commit b5e171e

Please sign in to comment.