feat: add sample workflow for the penguin
This commit is contained in:
40
.github/workflows/bongo-build.yml
vendored
Normal file
40
.github/workflows/bongo-build.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
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/*
|
||||||
Reference in New Issue
Block a user