Container private dependency with specific branches
This commit is contained in:
parent
a2437b318e
commit
246be0640a
|
@ -92,7 +92,15 @@ jobs:
|
|||
run: |
|
||||
mkdir -p private_deps
|
||||
cd private_deps
|
||||
cat ../requirements_private.txt | xargs -L 1 git clone
|
||||
while IFS=$" " read -r -a dependency_spec
|
||||
do
|
||||
if test -n "${dependency_spec[1]}"
|
||||
then
|
||||
git clone --single-branch --no-tags "${dependency_spec[0]}" --branch "${dependency_spec[1]}"
|
||||
else
|
||||
git clone --single-branch --no-tags "${dependency_spec[0]}"
|
||||
fi
|
||||
done < ../requirements_private.txt
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
|
Loading…
Reference in New Issue
Block a user