Skip to content

v0.10.5

v0.10.5 #41

Workflow file for this run

name: Push to PyPI
on:
release:
types: [released]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
verbose: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python auto_release_obs.py --username '${{ secrets.OSC_USER }}' --password '${{ secrets.OSC_PASS }}'