Skip to content

Commit

Permalink
[github] Introduce workflow to publish model-explorer-circle (#14359)
Browse files Browse the repository at this point in the history
This will introduce workflow to publish model-explorer-circle to pypi.org.

ONE-DCO-1.0-Signed-off-by: SaeHie Park <[email protected]>
  • Loading branch information
seanshpark authored Nov 25, 2024
1 parent 0a7899e commit a38af9f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pub-tools-mec-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish model-explorer-circle to pypi

on:
workflow_dispatch:

jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install build dependencies
run: python -m pip install -U setuptools wheel build

- name: Build
run: |
cd tools/model_explorer_circle/
python -m build .
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: tools/model_explorer_circle/dist/
skip-existing: true

0 comments on commit a38af9f

Please sign in to comment.