@@ -40,14 +40,14 @@ jobs:
40
40
git config user.email "[email protected] "
41
41
git add -f lib/src/blobs/libargon2-linux.so
42
42
git commit -m "Create Native Library for Linux"
43
- git push origin main
43
+ git push origin ${GITHUB_REF##*/}
44
44
mac-build :
45
45
runs-on : macos-latest
46
46
needs : linux-build
47
47
steps :
48
48
- uses : actions/checkout@v2
49
49
- name : Get Updated Changes
50
- run : git pull origin main
50
+ run : git pull origin ${GITHUB_REF##*/}
51
51
- name : Make & Copy Library
52
52
run : |
53
53
git clone https://github.com/P-H-C/phc-winner-argon2.git argon2_library
@@ -78,14 +78,14 @@ jobs:
78
78
git config user.email "[email protected] "
79
79
git add -f lib/src/blobs/libargon2-darwin.dylib
80
80
git commit -m "Create Native Library for Mac"
81
- git push origin main
81
+ git push origin ${GITHUB_REF##*/}
82
82
windows-build :
83
83
runs-on : windows-latest
84
84
needs : [linux-build, mac-build]
85
85
steps :
86
86
- uses : actions/checkout@v2
87
87
- name : Get Updated Changes
88
- run : git pull origin main
88
+ run : git pull origin ${GITHUB_REF##*/}
89
89
- name : Add msbuild to PATH
90
90
91
91
- name : Install Windows 8.1 SDK
@@ -119,5 +119,5 @@ jobs:
119
119
git config user.email "[email protected] "
120
120
git add -f lib/src/blobs/libargon2-win.dll
121
121
git commit -m "Create Native Library for Windows"
122
- git push origin main
122
+ git push origin ${GITHUB_REF##*/}
123
123
shell : bash
0 commit comments