Skip to content

Commit

Permalink
Bumped version
Browse files Browse the repository at this point in the history
Reraise exceptions when used as context manager

Moved to PEP compatible build system
  • Loading branch information
pylakey committed Jul 9, 2024
1 parent 918a841 commit 5ee523b
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 1,087 deletions.
29 changes: 22 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,30 @@ on:

jobs:
publish_pypi:
runs-on: ubuntu-latest
name: Push python package to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/aiotdlib
permissions:
id-token: write

steps:
- name: Check out the repo
- name: Checkout
uses: actions/checkout@v4

- name: Build and publish to pypi
uses: JRubics/[email protected]
- name: Set up Python
uses: actions/setup-python@v5
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
ignore_dev_requirements: true
python_version: 3.9
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build

- name: pypi-publish
uses: pypa/[email protected]
Loading

0 comments on commit 5ee523b

Please sign in to comment.