Files
samplez/.github/workflows/bongo-build.yml

41 lines
826 B
YAML

name: Build bongo
on:
workflow_dispatch:
push:
branches:
- dev
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install build tooling
run: python -m pip install --upgrade pip build
- name: Build bongo
run: python -m build
- name: Upload distributions
uses: actions/upload-artifact@v4
with:
name: bongo-dist-py${{ matrix.python-version }}
path: dist/*