π¦ PyPI - Build 0.0.9 #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π¦ Package PyPI-Test | |
on: | |
push: | |
branches: [ "pypi" ] | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: βοΈ Set up Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: βοΈ Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install build --no-cache-dir | |
- name: π¦ Build Package | |
run: python -m build | |
- name: π¦ Publish Package to Test PyPI | |
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | |
with: | |
password: ${{ secrets.TEST_PYPI_API_TOKEN }} | |
repository_url: https://test.pypi.org/legacy/ |