Docker_ml / .github /workflows /publish.pypi.yml
Sankie005's picture
Upload 434 files
c446951
name: Publish Wheels to PyPi
on:
release:
types: [created]
permissions:
id-token: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v3
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: 🦾 Install dependencies
run: |
ln -s .release/pypi/inference.core.setup.py setup.py
- name: πŸ›ž Create Wheels
run: |
make create_wheels
- name: πŸš€ Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1