mirror of
https://github.com/game-ci/unity-test-runner.git
synced 2026-01-29 06:20:07 +08:00
- Updated activation strategy to align with builder strategy for more stable activation with retry logic - Added `containerRegistryImageVersion` and `containerRegistryRepository` for improved custom image support - Added `runAsHostUser` to fix self-hosted runner issues - Scripts folder cleanup - Added error/warning annotations for activation issues - Improved serial masking - Image environment factory addition and docker refactoring
24 lines
924 B
Bash
Executable File
24 lines
924 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ -z "${GIT_PRIVATE_TOKEN}" ]
|
|
then
|
|
echo "GIT_PRIVATE_TOKEN unset skipping"
|
|
else
|
|
echo "GIT_PRIVATE_TOKEN is set configuring git credentials"
|
|
|
|
git config --global credential.helper store
|
|
git config --global --replace-all url."https://token:$GIT_PRIVATE_TOKEN@github.com/".insteadOf ssh://git@github.com/
|
|
git config --global --add url."https://token:$GIT_PRIVATE_TOKEN@github.com/".insteadOf git@github.com
|
|
git config --global --add url."https://token:$GIT_PRIVATE_TOKEN@github.com/".insteadOf "https://github.com/"
|
|
|
|
git config --global url."https://ssh:$GIT_PRIVATE_TOKEN@github.com/".insteadOf "ssh://git@github.com/"
|
|
git config --global url."https://git:$GIT_PRIVATE_TOKEN@github.com/".insteadOf "git@github.com:"
|
|
|
|
fi
|
|
|
|
echo "---------- git config --list -------------"
|
|
git config --list
|
|
|
|
echo "---------- git config --list --show-origin -------------"
|
|
git config --list --show-origin
|