diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bed7e32..e496d8f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,5 +12,21 @@ jobs: permissions: id-token: write steps: - - name: Publish package distributions to PyPI + - name: 🚚 Checkout repository + uses: actions/checkout@v4 + + - name: 🐍 Setup Python + uses: actions/setup-python@v5 + with: + python-version: 3.10 + + - name: 📦 Install dependencies + run: | + pip install -r requirements.txt + pip install wheel twine + + - name: 🛠️ Build package + run: python3 setup.py sdist bdist_wheel + + - name: 🚀 Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file