Skip to content

Initial Release of Modeling-GUI Package #1

Initial Release of Modeling-GUI Package

Initial Release of Modeling-GUI Package #1

Workflow file for this run

name: Upload Modeling-GUI Package
on:
release:
types: [published]
workflow_dispatch: # Enables manual triggering of the workflow
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Set up the Python environment
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9' # You can specify a particular version if needed
# Install necessary dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
# Build the Python package
- name: Build package
run: python -m build
# Optionally run tests before publishing
# Uncomment and modify if you have tests that should run before publishing
# - name: Run tests
# run: |
# python -m pip install -r requirements.txt
# pytest
# Publish the package to PyPI
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}