Skip to content

Merge branch 'dev' of github.com:MLAB-project/pymlab into dev #21

Merge branch 'dev' of github.com:MLAB-project/pymlab into dev

Merge branch 'dev' of github.com:MLAB-project/pymlab into dev #21

name: Upload Python Package
on:
push:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python3 setup.py egg_info -b ".dev`date '+%Y%m%d%H%M'`" build sdist
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true