Skip to content

image added to read me #31

image added to read me

image added to read me #31

Workflow file for this run

name: monisys
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10.12'
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install dependencies (if any)
run: |
# If you have dependencies, uncomment the next line and ensure requirements.txt is present
# pip install -r requirements.txt
publish:
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10.12'
- name: Upgrade pip and install wheel
run: |
python -m pip install --upgrade pip
pip install build setuptools wheel
- name: Build package
run: |
python -m build
- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine
twine upload dist/*