Skip to content

Commit 3eec3be

Browse files
committed
Revert "use dist"
This reverts commit ed44fec.
1 parent 89c9084 commit 3eec3be

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/_build-packages.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,14 @@ jobs:
3737
pkg-name: ${{ matrix.pkg-name }}
3838
nb-dirs: ${{ env.NB_DIRS }}
3939

40+
- run: |
41+
mkdir pypi/${{ matrix.pkg-name }}
42+
cp dist/* pypi/${{ matrix.pkg-name }}/
43+
4044
- uses: actions/upload-artifact@v4
4145
with:
4246
name: ${{ inputs.artifact-name }}-${{ matrix.pkg-name }}
43-
path: dist
47+
path: pypi
4448

4549
merge-artifacts:
4650
runs-on: ubuntu-22.04
@@ -49,12 +53,11 @@ jobs:
4953
with: # download all build artifacts
5054
pattern: ${{ inputs.artifact-name }}-*
5155
merge-multiple: true
52-
path: dist
56+
path: pypi
5357
- name: Keep artifact
5458
run: python -c "print('DAYS=' + str(5 if '${{ github.event_name }}'.startswith('pull_request') else 0))" >> $GITHUB_ENV
55-
- run: ls -lh dist/
5659
- uses: actions/upload-artifact@v4
5760
with:
5861
name: ${{ inputs.artifact-name }}
59-
path: dist
62+
path: pypi
6063
retention-days: ${{ env.DAYS }}

0 commit comments

Comments
 (0)