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:
25
25
git add -f lib/src/blobs/libargon2-linux.so
26
26
git config user.name "Github Actions"
27
27
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
33
37
mac-build :
34
38
runs-on : macos-latest
35
39
needs : linux-build
You can’t perform that action at this time.
0 commit comments