Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Build wheels

Build wheels #5

Workflow file for this run

name: Build wheels
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build-wheel:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.11']
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Build Wheel
run: |
python -m pip install build
python -m build --wheel .
- name: Upload Wheel
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist/*.whl
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false