File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4343
4444 - uses : actions/upload-artifact@v4
4545 with :
46- name : ${{ inputs.artifact-name }}-${{ matrix.pkg-name }}
46+ name : ${{ inputs.artifact-name }}-${{ strategy.job-index }}
4747 path : pypi
4848 retention-days : 1
4949
@@ -52,13 +52,15 @@ jobs:
5252 steps :
5353 - uses : actions/download-artifact@v4
5454 with : # download all build artifacts
55- pattern : ${{ inputs.artifact-name }}- *
55+ pattern : ${{ inputs.artifact-name }}*
5656 merge-multiple : true
57+ - run : ls -lh pypi/
58+
5759 - name : Keep artifact
5860 run : python -c "print('DAYS=' + str(5 if '${{ github.event_name }}'.startswith('pull_request') else 0))" >> $GITHUB_ENV
59- - run : ls -lh pypi/
6061 - uses : actions/upload-artifact@v4
6162 with :
6263 name : ${{ inputs.artifact-name }}
6364 path : pypi
6465 retention-days : ${{ env.DAYS }}
66+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments