Publish Wheels to PyPi #28
Workflow file for this run
This file contains 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: Publish Wheels to PyPi | |
on: | |
release: | |
types: [created] | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.9] | |
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 |