Skip to content

Commit

Permalink
Merge pull request #628 from pydsigner/fix_python_workflow
Browse files Browse the repository at this point in the history
Unpack inner artifact directories in Python release Workflow
  • Loading branch information
tdewolff authored Oct 30, 2023
2 parents d58ad8d + 0474a31 commit b245a57
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,16 @@ jobs:
#needs: [linux, windows, macos, sdist]
needs: [linux, windows, sdist]
steps:
- name: Collect artifacts
- name: Download artifacts
uses: actions/download-artifact@v3
with:
path: bindings/py/dist
- name: Omit non-release files
run: rm -f bindings/py/dist/*.so
path: bindings/py/artifacts
- name: Bundle release artifacts
run: |
cd bindings/py/
rm -r artifacts/*.so
mkdir dist
mv artifacts/*/* dist/
- name: Upload to GitHub Release
uses: softprops/[email protected]
with:
Expand All @@ -242,3 +246,4 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: bindings/py/dist/

0 comments on commit b245a57

Please sign in to comment.