Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
kagahd committed Oct 14, 2024
1 parent 7eff0ae commit fde48c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,18 @@ jobs:
run: |
mkdir -p latest-version
pwd
ls -al
ls -al latest-version/
git status
if ! cmp -s target/*-jar-with-dependencies.jar latest-version/mongodb-performance-test.jar; then
mv target/*-jar-with-dependencies.jar latest-version/mongodb-performance-test.jar
ls -al latest-version/
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
git config --local user.email "[email protected]"
git config --local user.name "github-actions[bot]"
git add latest-version/mongodb-performance-test.jar
git commit -m "Add latest version ($VERSION) of mongodb-performance-test.jar"
git push origin ${{ github.event.pull_request.head.ref }}
Expand Down

0 comments on commit fde48c9

Please sign in to comment.