Skip to content

Merge pull request #3 from simonsobs:actions #14

Merge pull request #3 from simonsobs:actions

Merge pull request #3 from simonsobs:actions #14

Workflow file for this run

name: Upload to PyPI
on:
# release:
# types: [created]
push:
tags:
- 'v*.*.*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install packages
run: |
pip install --upgrade pip
pip install --upgrade hatch
- name: Build
run: hatch build
- name: pypi-publish
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_API_TOKEN }}