From 2a7b146c0fe3681f9ac9c2c327a2449f09412b6b Mon Sep 17 00:00:00 2001 From: kagahd Date: Mon, 14 Oct 2024 15:39:06 +0200 Subject: [PATCH] git add --- .github/workflows/build-jar.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-jar.yml b/.github/workflows/build-jar.yml index 678c657..ca63a65 100644 --- a/.github/workflows/build-jar.yml +++ b/.github/workflows/build-jar.yml @@ -43,9 +43,6 @@ jobs: git config --local user.name "github-actions[bot]" git checkout -b ${{ github.event.pull_request.head.ref }} - - git add latest-version/mongodb-performance-test.jar - git status # Check if there are staged changes @@ -53,6 +50,8 @@ jobs: 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 + git add latest-version/mongodb-performance-test.jar + git commit -m "Add latest version ($VERSION) of mongodb-performance-test.jar" git status git push origin