From c8f6fd88e9ab5cc7e9f7ce5b02aed3fd8cda1eac Mon Sep 17 00:00:00 2001 From: kagahd Date: Mon, 14 Oct 2024 15:56:39 +0200 Subject: [PATCH] git diff --- .github/workflows/build-jar.yml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-jar.yml b/.github/workflows/build-jar.yml index ca63a65..0ac9255 100644 --- a/.github/workflows/build-jar.yml +++ b/.github/workflows/build-jar.yml @@ -46,7 +46,7 @@ jobs: git status # Check if there are staged changes - if git diff --staged --quiet; then + if [ -z "$(git diff --name-only)" ]; then echo "### Build unchanged" >> $GITHUB_STEP_SUMMARY echo "The [latest-version/mongodb-performance-test.jar](https://github.com/idealo/mongodb-performance-test/tree/master/latest-version/mongodb-performance-test.jar) is unchanged" >> $GITHUB_STEP_SUMMARY else diff --git a/pom.xml b/pom.xml index 6ceef38..9a30a1b 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ org.codehaus.mojo versions-maven-plugin - 2.17.0 + 2.17.1 false