File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -64,19 +64,20 @@ jobs:
64
64
PIN_RELEASE_VERSIONS : 1
65
65
ARTIFACT_DAYS : 0
66
66
steps :
67
- - name : Setup Git LFS credentials
68
- if : ${{ matrix.pkg-name == 'pytorch' }}
69
- run : |
70
- git config --global credential.helper store
71
- echo "https://$GITHUB_ACTOR:[email protected] " > ~/.git-credentials
72
- git config --global lfs.url "https://$GITHUB_ACTOR:[email protected] "
73
67
- uses : actions/checkout@v5
74
68
with :
75
69
ref : ${{ inputs.checkout }}
76
70
token : ${{ secrets.GITHUB_TOKEN }}
77
71
# only Pytorch has/uses notebooks
78
72
submodules : ${{ matrix.pkg-name == 'pytorch' }}
79
73
lfs : ${{ matrix.pkg-name == 'pytorch' }}
74
+ - name : Configure Git LFS for submodules
75
+ if : ${{ matrix.pkg-name == 'pytorch' }}
76
+ run : |
77
+ cd _notebooks
78
+ git config lfs.url "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/Lightning-AI/lightning-tutorials.git/info/lfs"
79
+ git lfs fetch --all
80
+ git lfs checkout
80
81
- uses : actions/setup-python@v6
81
82
with :
82
83
python-version : " 3.10"
You can’t perform that action at this time.
0 commit comments