Skip to content

Make EvaP pip-installable and publish to PyPI #1

Make EvaP pip-installable and publish to PyPI

Make EvaP pip-installable and publish to PyPI #1

Workflow file for this run

name: EvaP Release
on:
pull_request:
# release:
# types: [published]
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: |
python3 -m venv venv
source venv/bin/activate
python -m pip install --upgrade build
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/