Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --out dist --sdist
args: --release --out dist --sdist --verbose
- name: Upload built packages
uses: actions/upload-artifact@v4
with:
name: Packages-${{ matrix.os }}
path: dist

- name: Show dist contents
run: ls -lh dist || echo "No dist directory found"
release-test-pypi:
name: Publish in-dev package to test.pypi.org
environment: release-test-pypi
if: github.repository_owner == 'second-ed' && github.event_name == 'push'
&& github.ref == 'refs/heads/main'
if: github.repository_owner == 'second-ed' && github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: build-package
steps:
Expand All @@ -72,5 +72,6 @@ jobs:
with:
pattern: Packages-*
path: dist
merge-multiple: true
- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Loading