Compare commits

...

1 commit

Author SHA1 Message Date
bef03f7144 fixup! Fix git submodule authentication 2024-09-29 14:57:26 +03:00

View file

@ -15,6 +15,6 @@ runs:
run: | run: |
git lfs install git lfs install
GIT_SERVER=`echo -n "$GITHUB_SERVER_URL" | sed "s%https://%%"` GIT_SERVER=`echo -n "$GITHUB_SERVER_URL" | sed "s%https://%%"`
echo "machine $GIT_SERVER\nlogin oauth2\npassword $GITHUB_TOKEN" > ~/.netrc echo -e "machine $GIT_SERVER\nlogin oauth2\npassword $GITHUB_TOKEN" > ~/.netrc
# Disable clone protection to pull LFS as well # Disable clone protection to pull LFS as well
GIT_CLONE_PROTECTION_ACTIVE=false git clone --branch $GITHUB_REF_NAME --recurse-submodules $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . GIT_CLONE_PROTECTION_ACTIVE=false git clone --branch $GITHUB_REF_NAME --recurse-submodules $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .