@@ -55,12 +55,16 @@ jobs:
55
55
git add -f lib/src/blobs/libargon2-darwin.dylib
56
56
git config user.name "Github Actions"
57
57
git config user.email "[email protected] "
58
- git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/argon2_dart.git
59
- git commit -m "create blobs for mac"
60
- git fetch --unshallow secure-origin main
61
- git pull secure-origin main
62
- git push secure-origin main
63
-
58
+ if git diff-index --quiet HEAD
59
+ then
60
+ echo "No Changes. Done"
61
+ else
62
+ git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/argon2_dart.git
63
+ git commit -m "create blobs for mac"
64
+ git fetch --unshallow secure-origin main
65
+ git pull secure-origin main
66
+ git push secure-origin main
67
+ fi
64
68
windows-build :
65
69
runs-on : windows-latest
66
70
needs : [linux-build, mac-build]
84
88
git add -f lib\src\blobs\libargon2-win.dll
85
89
git config user.name "Github Actions"
86
90
git config user.email "[email protected] "
87
- git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/argon2_dart.git
88
- git commit -m "create blobs for mac"
89
- git fetch --unshallow secure-origin main
90
- git pull secure-origin main
91
- git push secure-origin main
92
-
91
+ if git diff-index --quiet HEAD
92
+ then
93
+ echo "No Changes. Done"
94
+ else
95
+ git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/argon2_dart.git
96
+ git commit -m "create blobs for mac"
97
+ git fetch --unshallow secure-origin main
98
+ git pull secure-origin main
99
+ git push secure-origin main
100
+ fi
0 commit comments