Skip to content

Merge pull request #4 from DigitalGeographyLab/3-gh-actions #1

Merge pull request #4 from DigitalGeographyLab/3-gh-actions

Merge pull request #4 from DigitalGeographyLab/3-gh-actions #1

Workflow file for this run

# vim: set tabstop=2 softtabstop=2 shiftwidth=2 expandtab:
name: Build main branch
on:
pull_request:
branches: [main]
types: [closed]
push:
branches: [main]
workflow_call:
jobs:
build:
name: Build wheel(s) and packages
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- name: Install build tools
run: python -m pip install build
- name: Build wheel(s) and packages
run: python -m build .
- name: Upload built packages
uses: actions/upload-artifact@v3
with:
name: package
path: dist/*.*