Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Sep 24, 2024
1 parent a9f8056 commit 84cf04a
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,25 +85,14 @@ jobs:
steps:
- uses: actions/checkout@v3 # Checkout the repository so we can have the pyptoject.toml file
- uses: actions/download-artifact@v4
with:
pattern: wheels-*
path: all_artifacts

- name: Display structure of downloaded artifacts
run: ls -R all_artifacts

- name: Prepare artifacts for upload
run: |
mkdir -p dist
find all_artifacts -name '*.whl' -exec cp {} dist/ \;
find all_artifacts -name '*.tar.gz' -exec cp {} dist/ \;
echo "Files prepared for upload:"
ls -la dist
run: ls -R wheels-*

- name: Publish to PyPI
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_PASSWORD }}
uses: PyO3/maturin-action@v1
with:
command: upload
args: --verbose --skip-existing dist/*
args: --non-interactive --skip-existing wheels-*/*

0 comments on commit 84cf04a

Please sign in to comment.