Skip to content

Merge pull request #4 from maxnoe/reset_repo #4

Merge pull request #4 from maxnoe/reset_repo

Merge pull request #4 from maxnoe/reset_repo #4

Workflow file for this run

name: Deploy to PyPi
on:
push:
tags:
- 'v*'
jobs:
pypi-publish:
name: Upload to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/install-texlive
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
# make sure we have version info
- run: git fetch --tags
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python --version
pip install -U build
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}