Skip to content

Merge pull request #649 from aiplan4eu/update-deploy-job #129

Merge pull request #649 from aiplan4eu/update-deploy-job

Merge pull request #649 from aiplan4eu/update-deploy-job #129

Workflow file for this run

name: CI-on-master
on:
push:
branches: master
jobs:
test:
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
uses: ./.github/workflows/test.yml
with:
python-version: ${{matrix.python-version}}
secrets: inherit
deploy:
needs: [test]
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout repo
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.10"
- name: Make distrib
run: |
python3 -m pip install wheel
bash scripts/make_distrib.sh
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@release/v1