Skip to content

feat(model_zoo): Add ResNet, ViT and refactor test suite #2

feat(model_zoo): Add ResNet, ViT and refactor test suite

feat(model_zoo): Add ResNet, ViT and refactor test suite #2

Workflow file for this run

name: Publish Python Package to PyPI
on:
push:
tags:
- 'v*.*.*'
jobs:
build-and-publish:
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
trusted-publishing: true