Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rain1024 committed Jun 9, 2024
1 parent 4fd1f60 commit 82c0d89
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release-pypi-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ jobs:
env:
MATURIN_PASSWORD: ${{ secrets.PYPI_UNDERTHESEA_CORE_API_TOKEN }}
run: |
$PYTHON -m poetry run maturin build --release --no-sdist --strip --interpreter python${{ matrix.python-version }}
$PYTHON -m poetry run maturin build --release --strip --interpreter python${{ matrix.python-version }}
find ./target/wheels/
$PYTHON -m poetry run maturin publish --username __token__ --no-sdist --interpreter python${{ matrix.python-version }}
$PYTHON -m poetry run maturin publish --username __token__ --interpreter python${{ matrix.python-version }}
windows:
name: "Windows"
if: ${{ github.event.label.name == 'release-pypi-core' }}
Expand Down Expand Up @@ -105,9 +105,9 @@ jobs:
env:
MATURIN_PASSWORD: ${{ secrets.PYPI_UNDERTHESEA_CORE_API_TOKEN }}
run: |
poetry run maturin build --release --no-sdist --strip --interpreter python
poetry run maturin build --release --strip --interpreter python
dir target\wheels\
poetry run maturin publish --username __token__ --no-sdist --interpreter python
poetry run maturin publish --username __token__ --interpreter python
macos-x64:
name: "MacOS x64"
if: ${{ github.event.label.name == 'release-pypi-core' }}
Expand Down Expand Up @@ -141,10 +141,10 @@ jobs:
env:
MATURIN_PASSWORD: ${{ secrets.PYPI_UNDERTHESEA_CORE_API_TOKEN }}
run: |
poetry run maturin build --release --no-sdist --strip --interpreter python${{ matrix.python-version }}
poetry run maturin build --release --strip --interpreter python${{ matrix.python-version }}
find ./target/wheels/
pip install target/wheels/underthesea_core*.whl
poetry run maturin publish --username __token__ --no-sdist --interpreter python${{ matrix.python-version }}
poetry run maturin publish --username __token__ --interpreter python${{ matrix.python-version }}
macos-arm:
name: "MacOS ARM"
if: ${{ github.event.label.name == 'release-pypi-core' }}
Expand All @@ -171,6 +171,6 @@ jobs:
run: |
export PATH="${PWD}/poetry/bin:${PATH}"
$PYTHON --version
poetry run maturin build --release --no-sdist --strip --interpreter $PYTHON
poetry run maturin build --release --strip --interpreter $PYTHON
find ./target/wheels/
poetry run maturin publish --username __token__ --no-sdist --interpreter $PYTHON
poetry run maturin publish --username __token__ --interpreter $PYTHON

0 comments on commit 82c0d89

Please sign in to comment.