dev: use HTTPS subrepo remotes in CI
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
51111d9134
commit
e276648c3f
1 changed files with 8 additions and 3 deletions
|
|
@ -2,8 +2,13 @@
|
||||||
set -exuo pipefail
|
set -exuo pipefail
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"/..
|
cd "$(dirname "${BASH_SOURCE[0]}")"/..
|
||||||
|
|
||||||
git remote add -f mach-glfw git@github.com:hexops/mach-glfw || true
|
if [[ -z "${GITHUB_ACTIONS}" ]]; then
|
||||||
git fetch mach-glfw
|
git remote add -f mach-glfw git@github.com:hexops/mach-glfw || true
|
||||||
|
git remote add -f mach-gpu-dawn git@github.com:hexops/mach-gpu-dawn || true
|
||||||
|
else
|
||||||
|
git remote add -f mach-glfw https://github.com/hexops/mach-glfw || true
|
||||||
|
git remote add -f mach-gpu-dawn https://github.com/hexops/mach-gpu-dawn || true
|
||||||
|
fi
|
||||||
|
|
||||||
git remote add -f mach-gpu-dawn git@github.com:hexops/mach-gpu-dawn || true
|
git fetch mach-glfw
|
||||||
git fetch mach-gpu-dawn
|
git fetch mach-gpu-dawn
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue