feat: 配置 Git 使用 HTTPS 以支持更安全的代码访问
This commit is contained in:
1 parent
cb8b3876c0
commit
b7ff328a10
1 file changed
+5
@@ -25,6 +25,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Configure Git for HTTPS
|
||||||
|
run: |
|
||||||
|
git config --global url."https://github.com/".insteadOf ssh://git@github.com/
|
||||||
|
git config --global url."https://".insteadOf git://
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in new issue
Block a user