Skip to content

Commit

Permalink
git add
Browse files Browse the repository at this point in the history
  • Loading branch information
kagahd committed Oct 14, 2024
1 parent dcf43ff commit 2a7b146
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,15 @@ 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
if git diff --staged --quiet; 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
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
Expand Down

0 comments on commit 2a7b146

Please sign in to comment.