Skip to content

Commit

Permalink
condition
Browse files Browse the repository at this point in the history
  • Loading branch information
kagahd committed Oct 14, 2024
1 parent 457bc3d commit e1d23f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "github-actions[bot]"
git pull origin ${{ github.head_ref }} --rebase || echo "No changes to pull"
git add latest-version/mongodb-performance-test.jar
# Check if there are staged changes
Expand All @@ -48,7 +49,6 @@ jobs:
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 commit -m "Add latest version ($VERSION) of mongodb-performance-test.jar"
git pull origin ${{ github.head_ref }} --rebase
git push origin HEAD:${{ github.head_ref }}
# Delete the local tag if it exists
Expand Down

0 comments on commit e1d23f8

Please sign in to comment.