Skip to content

Merge pull request #186 from cta-observatory/release_v0.4.0 #1

Merge pull request #186 from cta-observatory/release_v0.4.0

Merge pull request #186 from cta-observatory/release_v0.4.0 #1

Workflow file for this run

name: Deploy to PyPI
on:
push:
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# make sure we have version info
- run: git fetch --tags
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python --version
pip install -U pip setuptools wheel setuptools_scm[toml]
python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}