File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,15 @@ jobs:
2525 git add -f lib/src/blobs/libargon2-linux.so
2626 git config user.name "Github Actions"
2727 git config user.email "[email protected] " 28- git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/argon2_dart.git
29- git fetch --unshallow secure-origin main
30- git commit -m "create blobs for linux"
31- git push -f secure-origin main
32-
28+ if git diff-index --quiet HEAD
29+ then
30+ echo "No Changes. Done"
31+ else
32+ git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/argon2_dart.git
33+ git fetch --unshallow secure-origin main
34+ git commit -m "create blobs for linux"
35+ git push -f secure-origin main
36+ fi
3337 mac-build :
3438 runs-on : macos-latest
3539 needs : linux-build
You can’t perform that action at this time.
0 commit comments