Skip to content

Workflow file for this run

name: Publish icclim to pypi
on:
release:
types:
- published
jobs:
deployment:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write # needed for trusted publishing
steps:
- uses: actions/checkout@v3
- name: Setup python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install tools
run: python -m pip install --upgrade pip flit
- name: Install icclim for prod
run: python -m flit install --deps production
- name: build package
run: python -m flit build
- name: Publish to pypi
uses: pypa/gh-action-pypi-publish@v1.8.11