Skip to content

Commit

Permalink
🔀 Merge pull request #284 from ritchie46/fixPublish_preventSubfolders
Browse files Browse the repository at this point in the history
Fix publish - Prevent subfolders being created on download
  • Loading branch information
smith120bh authored Jul 20, 2024
2 parents c088690 + 1d6e032 commit 9af5e05
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Upload Source Distribution
uses: actions/upload-artifact@v4
with:
name: sdist
path: ./dist/*.tar.gz
name: cibw-sdist
path: dist/*.tar.gz

build_wheels:
name: Build wheels on ${{ matrix.python }}-${{ matrix.buildplat[1] }}
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: wheel-${{ matrix.python }}-${{ matrix.buildplat[1] }}
name: cibw-wheels-${{ matrix.python }}-${{ matrix.buildplat[1] }}
path: ./dist/*.whl

run_tests:
Expand Down Expand Up @@ -100,7 +100,12 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: dist/
pattern: cibw-*
path: dist
merge-multiple: true

- name: Display our files
run: ls dist

- name: Publish to pypi
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 9af5e05

Please sign in to comment.