Skip to content

Merge pull request #1 from thehalleyyoung/copilot/add-pip-installable… #3

Merge pull request #1 from thehalleyyoung/copilot/add-pip-installable…

Merge pull request #1 from thehalleyyoung/copilot/add-pip-installable… #3

Workflow file for this run

name: Build Python Wheel
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
release:
types: [ created ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build wheel
run: python -m build --wheel
- name: Upload wheel artifact
uses: actions/upload-artifact@v4
with:
name: pyfromscratch-wheel
path: dist/*.whl
if-no-files-found: error
retention-days: 90
- name: List built artifacts
run: ls -lh dist/