Skip to content

Commit 97eb1f2

Browse files
committed
fix: http authentication for git
Signed-off-by: Yukai Huang <[email protected]>
1 parent 1b2f97a commit 97eb1f2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717

18+
# from https://stackoverflow.com/a/69649733
19+
- name: Reconfigure git to use HTTP authentication
20+
run: >
21+
git config --global url."https://github.com/".insteadOf
22+
23+
1824
- uses: actions/cache@v2
1925
with:
2026
path: ~/.npm

0 commit comments

Comments
 (0)