Skip to content

Alignment with MLPro 1.9.4 #10

Alignment with MLPro 1.9.4

Alignment with MLPro 1.9.4 #10

Workflow file for this run

## -------------------------------------------------------------------------------------------------
## -- Project : MLPro - The integrative middleware framework for standardized machine learning
## -- Extension : MLPro-Int-River - Integration of River into MLPro
## -- Workflow : pypi_deploy.yml
## -------------------------------------------------------------------------------------------------
## -- History :
## -- yyyy-mm-dd Ver. Auth. Description
## -- 2024 1.0.0 MRD Creation
## -- 2024-12-03 1.1.0 DA Updated the version for Python to 3.10
## -------------------------------------------------------------------------------------------------
name: Deployment PyPI
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Codes
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
- name: Publish distribution to PyPI
# if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}