File tree Expand file tree Collapse file tree 5 files changed +17
-10
lines changed Expand file tree Collapse file tree 5 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 2828 - name : Keep artifact
2929 id : keep-artifact
3030 run : python -c "print('DAYS=' + str(5 if '${{ github.event_name }}'.startswith('pull_request') else 0))" >> $GITHUB_OUTPUT
31- - uses : actions/upload-artifact@v3
31+ - uses : actions/upload-artifact@v4
3232 with :
3333 name : ${{ inputs.artifact-name }}
3434 path : dist
@@ -44,10 +44,11 @@ jobs:
4444 pkg-name : ${{ fromJSON(inputs.pkg-names) }}
4545 steps :
4646 - uses : actions/checkout@v4
47- - uses : actions/download-artifact@v3
47+ - uses : actions/download-artifact@v4
4848 with :
4949 name : ${{ inputs.artifact-name }}
5050 path : pypi
51+ merge-multiple : true
5152 - uses : actions/setup-python@v5
5253 with :
5354 python-version : 3.9
6364 mkdir pypi/${{ matrix.pkg-name }}
6465 cp dist/* pypi/${{ matrix.pkg-name }}/
6566
66- - uses : actions/upload-artifact@v3
67+ - uses : actions/upload-artifact@v4
6768 with :
6869 name : ${{ inputs.artifact-name }}
6970 path : pypi
7071 include-hidden-files : true
72+ overwrite : true
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104104 python -c "print('AWS_RUN=' + str('' if '${{inputs.push_to_s3}}' == 'true' else '--dryrun'))" >> $GITHUB_ENV
105105
106106 - name : Upload checkpoints to GitHub Actions artifact
107- uses : actions/upload-artifact@v3
107+ uses : actions/upload-artifact@v4
108108 with :
109109 name : checkpoints-${{ github.sha }}
110110 path : ${{ env.LEGACY_FOLDER }}/checkpoints/
Original file line number Diff line number Diff line change @@ -50,10 +50,11 @@ jobs:
5050 - uses : actions/setup-python@v5
5151 with :
5252 python-version : ${{ matrix.python-version }}
53- - uses : actions/download-artifact@v3
53+ - uses : actions/download-artifact@v4
5454 with :
5555 name : dist-packages-${{ github.sha }}
5656 path : dist
57+ merge-multiple : true
5758
5859 - name : Set package dir
5960 run : |
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ jobs:
129129 run : echo "ARTIFACT_DAYS=7" >> $GITHUB_ENV
130130 - name : Upload built docs
131131 if : ${{ matrix.target == 'html' }}
132- uses : actions/upload-artifact@v3
132+ uses : actions/upload-artifact@v4
133133 with :
134134 name : docs-${{ matrix.pkg-name }}-${{ github.sha }}
135135 path : docs/build/html/
@@ -158,10 +158,11 @@ jobs:
158158 # use input if dispatch or git tag
159159 VERSION : ${{ inputs.version || github.ref_name }}
160160 steps :
161- - uses : actions/download-artifact@v3
161+ - uses : actions/download-artifact@v4
162162 with :
163163 name : docs-${{ matrix.pkg-name }}-${{ github.sha }}
164164 path : docs/build/html/
165+ merge-multiple : true
165166
166167 - name : Authenticate to Google Cloud
167168 uses : google-github-actions/auth@v2
Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ jobs:
3838 if : github.event_name == 'release'
3939 steps :
4040 - uses : actions/checkout@v4
41- - uses : actions/download-artifact@v3
41+ - uses : actions/download-artifact@v4
4242 with :
4343 name : dist-packages-${{ github.sha }}
4444 path : dist
45+ merge-multiple : true
4546 - run : ls -lh dist/
4647 - name : Upload to release
4748@@ -140,10 +141,11 @@ jobs:
140141 name : ["FABRIC", "PYTORCH", "LIGHTNING"]
141142 steps :
142143 - uses : actions/checkout@v4 # needed for local action below
143- - uses : actions/download-artifact@v3
144+ - uses : actions/download-artifact@v4
144145 with :
145146 name : dist-packages-${{ github.sha }}
146147 path : dist
148+ merge-multiple : true
147149 - name : Browse folder
148150 id : folder
149151 run : |
@@ -165,10 +167,11 @@ jobs:
165167 name : ["FABRIC", "PYTORCH", "LIGHTNING"]
166168 steps :
167169 - uses : actions/checkout@v4 # needed for local action below
168- - uses : actions/download-artifact@v3
170+ - uses : actions/download-artifact@v4
169171 with :
170172 name : dist-packages-${{ github.sha }}
171173 path : dist
174+ merge-multiple : true
172175 - name : Browse folder
173176 id : folder
174177 run : |
You can’t perform that action at this time.
0 commit comments