ci: Fix Node 14 git protocol in workflow (#8381)

This commit is contained in:
Manuel
2023-01-09 09:54:11 +01:00
committed by GitHub
parent 9d461df0c0
commit bd82d8ede1
2 changed files with 18 additions and 0 deletions

View File

@@ -193,6 +193,9 @@ jobs:
steps:
- name: Fix usage of insecure GitHub protocol
run: sudo git config --system url."https://github".insteadOf "git://github"
- name: Fix git protocol for Node 14
if: ${{ startsWith(matrix.NODE_VERSION, '14.') }}
run: sudo git config --system url."https://github".insteadOf "ssh://git@github"
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v2