Skip to content

Merge pull request #103 from axiom-data-science/dependabot/github_act… #105

Merge pull request #103 from axiom-data-science/dependabot/github_act…

Merge pull request #103 from axiom-data-science/dependabot/github_act… #105

Workflow file for this run

---
name: Release
on: [push]
jobs:
release:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/extract_model
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
python -m pip install -U pip wheel setuptools setuptools-scm twine
- name: Build distributions
run: python setup.py sdist bdist_wheel
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1