Skip to content

fix: add missing functions for show functions #1848

fix: add missing functions for show functions

fix: add missing functions for show functions #1848

Workflow file for this run

name: Bindings Python
on:
pull_request:
branches:
- main
paths:
- "src/**"
- ".github/workflows/bindings.python.yml"
workflow_call:
inputs:
tag:
description: The tag to release
required: true
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
linux:
name: ${{ matrix.target }}
runs-on: [self-hosted, X64, Linux, 8c16g, gcp]
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/build_bindings_python
with:
target: ${{ matrix.target }}
version: ${{ inputs.tag }}
- name: Publish to PyPI
if: inputs.tag
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
password: ${{ secrets.PYPI_PASSWORD }}
packages-dir: src/bendpy/dist
macos:
if: inputs.tag
name: ${{ matrix.target }}
runs-on: macos-latest
strategy:
matrix:
target:
- x86_64-apple-darwin
- aarch64-apple-darwin
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/build_bindings_python
with:
target: ${{ matrix.target }}
version: ${{ inputs.tag }}
- name: Publish to PyPI
if: inputs.tag
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
password: ${{ secrets.PYPI_PASSWORD }}
packages-dir: src/bendpy/dist