Skip to content

updated Readme and fixed workflow trigger. #1

updated Readme and fixed workflow trigger.

updated Readme and fixed workflow trigger. #1

Workflow file for this run

name: Publish Python Package
on:
push:
branches:
- master
paths:
- 'testmailhelper/**'
- 'README.md'
- 'setup.py'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Publish package
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
twine upload dist/*