Skip to content

Commit 6f58057

Browse files
Merge pull request #6 from sky-ring/poetry
integrate: poetry
2 parents c02412b + baee3ea commit 6f58057

5 files changed

Lines changed: 377 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ jobs:
1313
uses: actions/setup-python@v4
1414
with:
1515
python-version: '3.10'
16-
- name: Install dependencies
17-
run: |
18-
python -m pip install --upgrade pip
19-
pip install setuptools wheel twine
16+
- name: Run image
17+
uses: abatilo/actions-poetry@v2
18+
with:
19+
poetry-version: ${{ matrix.poetry-version }}
2020
- name: Build and publish
2121
env:
22-
TWINE_USERNAME: '__token__'
23-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
22+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
2423
run: |
25-
python setup.py sdist bdist_wheel
26-
twine upload dist/*
24+
poetry config pypi-token.pypi $PYPI_API_TOKEN
25+
poetry publish --build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Rift
44

5-
[![PyPI version](https://img.shields.io/badge/rift--framework-0.7.0-informational?style=flat-square&color=FFFF91)](https://pypi.org/project/rift-framework/)
5+
[![PyPI version](https://img.shields.io/badge/rift--framework-0.7.1-informational?style=flat-square&color=FFFF91)](https://pypi.org/project/rift-framework/)
66
[![Telegram](https://img.shields.io/badge/Telegram-@rift__framework-informational?style=flat-square&color=0088cc)](https://t.me/d_builder)
77
> _A magical **Python3** -> **FunC** portal_
88

0 commit comments

Comments
 (0)