Skip to content

Bump actions/checkout from 5 to 6 (#141) #262

Bump actions/checkout from 5 to 6 (#141)

Bump actions/checkout from 5 to 6 (#141) #262

Workflow file for this run

name: "🐍 Python Wheel"
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
workflow_call:
jobs:
build-wheel:
runs-on: ubuntu-latest
steps:
- name: Get source code
uses: actions/checkout@v6
with:
fetch-depth: 0 # Fetch all history for tags
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: "pip"
cache-dependency-path: "requirements/base.txt"
- name: Install project requirements
run: |
python -m pip install -U pip setuptools wheel
python -m pip install -U build
- name: Install project as a package
run: python -m pip install -e .
- name: Build a binary wheel and a source tarball
run: python -m build .
- uses: actions/upload-artifact@v5
with:
name: python_wheel
path: dist/*
if-no-files-found: error