Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Test Release

Test Release #1

Workflow file for this run

on:
release:
types:
- published
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install libpcsclite-dev
run: sudo apt-get install libpcsclite-dev
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: pip install build twine
- name: Build package
run: python -m build
- name: Publish package to PyPI
run: python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Include README in distribution
run: |
cp README.md dist/