MultiMM v.1.0.6 #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MultiMM | |
on: | |
release: | |
types: [published] | |
permissions: | |
contents: read | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 # Check out your repository | |
# Set up Python 3.10 for the environment | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
# Clean any trash that remained | |
- name: Clean build artifacts | |
run: | | |
rm -rf build/ dist/ *.egg-info | |
# Install dependencies needed for the build and environment setup | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install build # Needed to build the package | |
pip install . # Install the MultiMM package from the current directory | |
# Build the package (wheel + source distribution) | |
- name: Build package | |
run: python -m build | |
# Use PyPI token | |
- name: Publish package | |
uses: pypa/[email protected] | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_API_TOKEN }} | |
verify_metadata: false | |
skip_existing: false |