chore: pin SciQLop to 0.12.x across all plugins #13
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |