Skip to content

feat: Add get splitter and combiner variables #50

feat: Add get splitter and combiner variables

feat: Add get splitter and combiner variables #50

Workflow file for this run

---
name: publish
# Actions for any tag.
# -----------------
# Control variables (GitHub Secrets)
# -----------------
#
# At the GitHub 'organisation' or 'project' level you must have the following
# GitHub 'Repository Secrets' defined (i.e. via 'Settings -> Secrets'): -
#
# PYPI_USERNAME
# PYPI_TOKEN
#
# -----------
# Environment (GitHub Environments)
# -----------
#
# Environment (none)
on:
push:
tags:
- '**'
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build
- name: Build
run: |
python -m build --sdist --wheel --outdir dist/
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1