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

Build wheels

Build wheels #6

Workflow file for this run

name: Build wheels
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions: write-all
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 Asset
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
default_release_name: Release ${{ github.ref }}
file: 'dist/*.whl'