Skip to content

Fix PyPI upload action #14

Fix PyPI upload action

Fix PyPI upload action #14

name: Build and Publish Extension
on:
push:
tags: 'v*'
jobs:
build:
name: Build and Publish to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/rucio-jupyterlab
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- uses: ./.github/actions/test
- uses: ./.github/actions/build-ext
- uses: ./.github/actions/post-test
- name: Build sdist
run: |
pip install build
python -m build --sdist
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true