Skip to content

Merge branch 'main' of github.com:iscar-ucm/xdevs.py #2

Merge branch 'main' of github.com:iscar-ucm/xdevs.py

Merge branch 'main' of github.com:iscar-ucm/xdevs.py #2

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- 'v*.*.*'
jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/xdevs
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install pypa/setuptools
run: python -m pip install --upgrade pip build
- name: Build a binary
run: python build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1