Skip to content

chore: pin SciQLop to 0.12.x across all plugins #13

chore: pin SciQLop to 0.12.x across all plugins

chore: pin SciQLop to 0.12.x across all plugins #13

Workflow file for this run

name: Release plugin
on:
push:
tags:
- "*/v*"
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install build tool
run: pip install build
- name: Build wheel
run: |
TAG="${GITHUB_REF#refs/tags/}"
PLUGIN_DIR="${TAG%%/v*}"
if [ ! -f "${PLUGIN_DIR}/pyproject.toml" ]; then
echo "::error::No pyproject.toml found in ${PLUGIN_DIR}/"
exit 1
fi
echo "Building ${PLUGIN_DIR}"
python -m build --wheel --outdir dist "${PLUGIN_DIR}"
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: dist/*.whl
generate_release_notes: true