File tree Expand file tree Collapse file tree 6 files changed +15
-14
lines changed
Expand file tree Collapse file tree 6 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 3232 branch=main
3333 if [[ $ref_type == "tag"* ]]
3434 then
35- raw=$( git branch -r --contains ${{ github.ref_name }})
36- branch=${raw/ origin\/}
35+ git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
36+ branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^ origin\///')
3737 fi
3838 pip install "pandas>=1.2.0,<1.4.0dev0"
3939 pip install "NVTabular@git+https://github.com/NVIDIA-Merlin/NVTabular.git@$branch"
Original file line number Diff line number Diff line change 3232 branch=main
3333 if [[ $ref_type == "tag"* ]]
3434 then
35- raw=$( git branch -r --contains ${{ github.ref_name }})
36- branch=${raw/ origin\/}
35+ git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
36+ branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^ origin\///')
3737 fi
3838 pip install "pandas>=1.2.0,<1.4.0dev0"
3939 pip install "NVTabular@git+https://github.com/NVIDIA-Merlin/NVTabular.git@$branch"
Original file line number Diff line number Diff line change 3232 branch=main
3333 if [[ $ref_type == "tag"* ]]
3434 then
35- raw=$( git branch -r --contains ${{ github.ref_name }})
36- branch=${raw/ origin\/}
35+ git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
36+ branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^ origin\///')
3737 fi
3838 pip install "pandas>=1.2.0,<1.4.0dev0"
3939 pip install "NVTabular@git+https://github.com/NVIDIA-Merlin/NVTabular.git@$branch"
Original file line number Diff line number Diff line change 1+
12name : pytorch
23
34on :
3233 branch=main
3334 if [[ $ref_type == "tag"* ]]
3435 then
35- raw=$( git branch -r --contains ${{ github.ref_name }})
36- branch=${raw/ origin\/}
36+ git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
37+ branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^ origin\///')
3738 fi
3839 pip install "pandas>=1.2.0,<1.4.0dev0"
3940 pip install "NVTabular@git+https://github.com/NVIDIA-Merlin/NVTabular.git@$branch"
Original file line number Diff line number Diff line change 3838 branch=main
3939 if [[ $ref_type == "tag"* ]]
4040 then
41- raw=$( git branch -r --contains ${{ github.ref_name }})
42- branch=${raw/ origin\/}
41+ git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
42+ branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^ origin\///')
4343 fi
4444 pip install "pandas>=1.2.0,<1.4.0dev0"
4545 pip install "NVTabular@git+https://github.com/NVIDIA-Merlin/NVTabular.git@$branch"
9393 branch=main
9494 if [[ $ref_type == "tag"* ]]
9595 then
96- raw=$( git branch -r --contains ${{ github.ref_name }})
97- branch=${raw/ origin\/}
96+ git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
97+ branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^ origin\///')
9898 fi
9999 pip install "pandas>=1.2.0,<1.4.0dev0"
100100 pip install "NVTabular@git+https://github.com/NVIDIA-Merlin/NVTabular.git@$branch"
Original file line number Diff line number Diff line change 3232 branch=main
3333 if [[ $ref_type == "tag"* ]]
3434 then
35- raw=$( git branch -r --contains ${{ github.ref_name }})
36- branch=${raw/ origin\/}
35+ git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
36+ branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^ origin\///')
3737 fi
3838 pip install "pandas>=1.2.0,<1.4.0dev0"
3939 pip install "NVTabular@git+https://github.com/NVIDIA-Merlin/NVTabular.git@$branch"
You can’t perform that action at this time.
0 commit comments