Skip to content

Commit

Permalink
Publish Underthesea Core (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
rain1024 authored Aug 19, 2023
1 parent b04d521 commit e10ff5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
curl -sSL https://install.python-poetry.org | python -
- name: Add poetry to path
run: echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- name: Install package deps
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-pypi-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ jobs:
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 build --format sdist
find ./target/wheels/
$PYTHON -m poetry run maturin publish --username __token__ --no-sdist --interpreter python${{ matrix.python-version }}
$PYTHON -m poetry publish --repository pypi -u __token__ -p ${{ secrets.PYPI_UNDERTHESEA_CORE_API_TOKEN }} --build
windows:
name: "Windows"
if: "contains(github.event.head_commit.message, 'Publish Underthesea Core')"
Expand Down

0 comments on commit e10ff5e

Please sign in to comment.