Skip to content

rename to sui_data

rename to sui_data #1

name: Publish Python 🐍 distributions πŸ“¦ to PyPI and TestPyPI
on:
push:
tags:
- "**" # Push events to every tag including hierarchical tags like v1.0/beta
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions πŸ“¦ to PyPI and TestPyPI
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
strategy:
matrix:
# Run in all these versions of Python
python-version: ["3.10"]
steps:
- uses: actions/checkout@master
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install build tools
run: >-
python -m
pip install
--upgrade
setuptools wheel
- name: Build and wheel
run: >-
python
-m
build
--wheel
--sdist
- name: Publish distribution πŸ“¦ to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}