Skip to content

Commit

Permalink
publish yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
isik-kaplan committed Oct 16, 2024
1 parent 2c2eca3 commit 0936b61
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish

on:
push:
branches:
- master

jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install build tools
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/[email protected]
with:
username: __token__
password: ${{ secrets.PYPI_TOKEN }}
packages-dir: dist

0 comments on commit 0936b61

Please sign in to comment.