Workflow file for this run
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: 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 |