@@ -22,17 +22,15 @@ jobs:
2222 run : |
2323 mkdir -p lib/src/blobs/
2424 cp argon2_library/libargon2.so.1 lib/src/blobs/libargon2-linux.so
25- git add -f lib/src/blobs/libargon2-linux.so
2625 git config user.name "Github Actions"
2726 git config user.email "[email protected] " 2827 if git diff-index --quiet HEAD
2928 then
3029 echo "No Changes. Done"
3130 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
31+ git add -f lib/src/blobs/libargon2-linux.so
32+ git commit -m "Create Native Library for Linux"
33+ git push origin main
3634 fi
3735 mac-build :
3836 runs-on : macos-latest
@@ -54,17 +52,15 @@ jobs:
5452 - name : copy and push library
5553 run : |
5654 cp argon2_library/libargon2.1.dylib lib/src/blobs/libargon2-darwin.dylib
57- git add -f lib/src/blobs/libargon2-darwin.dylib
5855 git config user.name "Github Actions"
5956 git config user.email "[email protected] " 6057 if git diff-index --quiet HEAD
6158 then
6259 echo "No Changes. Done"
6360 else
64- git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/argon2_dart.git
65- git commit -m "create blobs for mac"
66- git fetch --unshallow secure-origin main
67- git push secure-origin main
61+ git add -f lib/src/blobs/libargon2-darwin.dylib
62+ git commit -m "Create Native Library for Mac"
63+ git push origin main
6864 fi
6965 windows-build :
7066 runs-on : windows-latest
@@ -88,15 +84,13 @@ jobs:
8884 - name : copy and push library
8985 run : |
9086 Copy-Item “argon2_library\vs2015\build\Argon2OptDll.dll” -Destination “lib\src\blobs\libargon2-win.dll”
91- git add -f lib\src\blobs\libargon2-win.dll
9287 git config user.name "Github Actions"
9388 git config user.email "[email protected] " 9489 if git diff-index --quiet HEAD
9590 then
9691 echo "No Changes. Done"
9792 else
98- git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/argon2_dart.git
99- git commit -m "create blobs for mac"
100- git fetch --unshallow secure-origin main
101- git push secure-origin main
93+ git add -f lib\src\blobs\libargon2-win.dll
94+ git commit -m "Create Native Library for Windows"
95+ git push origin main
10296 fi
0 commit comments