Skip to content

Commit

Permalink
fix: release step
Browse files Browse the repository at this point in the history
  • Loading branch information
dirvine committed Nov 30, 2024
1 parent aa7361f commit a51b433
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
release:
name: Release
runs-on: ubuntu-latest
needs: [macos, windows, linux, sdist]
permissions:
id-token: write
contents: read
steps:
- uses: actions/download-artifact@v3
with:
path: dist
- name: Move files to dist directory
run: |
mkdir -p dist_flat
find dist -type f -exec mv {} dist_flat/ \;
rm -rf dist
mv dist_flat dist
- name: Display structure of downloaded files
run: ls -R dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/
verbose: true
print-hash: true

0 comments on commit a51b433

Please sign in to comment.