Skip to content

Update model.py

Update model.py #11336

Workflow file for this run

name: Deploy Branch
on: [push, pull_request, merge_group, workflow_dispatch]
jobs:
sdist:
name: Deploy Python Source Distribution
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.11"]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v4
with:
fetch-depth: 20
- name: Set up SWIG
uses: ./.github/actions/setup-swig
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
- name: Create AMICI sdist
run: |
scripts/buildSdist.sh
- name: "Upload artifact: sdist"
uses: actions/upload-artifact@v4
with:
name: sdist
path: python/sdist/dist/amici-*.gz