Merge pull request #2210 from AMICI-dev/release_0.20.0 #9412
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: Deploy Branch | |
on: [push, merge_group, workflow_dispatch] | |
jobs: | |
sdist: | |
name: Deploy Python Source Distribution | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: [3.9] | |
steps: | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/checkout@v3 | |
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@v3 | |
with: | |
name: sdist | |
path: python/sdist/dist/amici-*.gz |