Skip to content

Commit b10d002

Browse files
authored
Merge pull request #12 from tmthecoder/fix-builder-commands
Fix CI Commands
2 parents fbc7269 + 60870c4 commit b10d002

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/dargon2_library-builder.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040
git config user.email "[email protected]"
4141
git add -f lib/src/blobs/libargon2-linux.so
4242
git commit -m "Create Native Library for Linux"
43-
git push origin main
43+
git push origin ${GITHUB_REF##*/}
4444
mac-build:
4545
runs-on: macos-latest
4646
needs: linux-build
4747
steps:
4848
- uses: actions/checkout@v2
4949
- name: Get Updated Changes
50-
run: git pull origin main
50+
run: git pull origin ${GITHUB_REF##*/}
5151
- name: Make & Copy Library
5252
run: |
5353
git clone https://github.com/P-H-C/phc-winner-argon2.git argon2_library
@@ -78,14 +78,14 @@ jobs:
7878
git config user.email "[email protected]"
7979
git add -f lib/src/blobs/libargon2-darwin.dylib
8080
git commit -m "Create Native Library for Mac"
81-
git push origin main
81+
git push origin ${GITHUB_REF##*/}
8282
windows-build:
8383
runs-on: windows-latest
8484
needs: [linux-build, mac-build]
8585
steps:
8686
- uses: actions/checkout@v2
8787
- name: Get Updated Changes
88-
run: git pull origin main
88+
run: git pull origin ${GITHUB_REF##*/}
8989
- name: Add msbuild to PATH
9090
uses: microsoft/[email protected]
9191
- name: Install Windows 8.1 SDK
@@ -119,5 +119,5 @@ jobs:
119119
git config user.email "[email protected]"
120120
git add -f lib/src/blobs/libargon2-win.dll
121121
git commit -m "Create Native Library for Windows"
122-
git push origin main
122+
git push origin ${GITHUB_REF##*/}
123123
shell: bash

.github/workflows/dargon2_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
- uses: actions/checkout@v2
2020
- uses: dart-lang/setup-dart@v1
2121
- name: Install dependencies
22-
run: pub get
22+
run: dart pub get
2323
- name: Run tests
24-
run: pub run test
24+
run: dart pub run test

0 commit comments

Comments
 (0)