Merge branch 'main' into check_grad_sbml_test_suite #12409
This file contains hidden or 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: Deploy Branch | |
| on: [push, pull_request, merge_group, workflow_dispatch] | |
| jobs: | |
| sdist: | |
| name: Deploy Python Source Distribution | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| 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 |