28 lines
No EOL
666 B
YAML
28 lines
No EOL
666 B
YAML
name: Packages
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build distribution 📦
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: https://git.eltanin.net/actions/checkout@v3
|
|
- name: Set up Python
|
|
uses: https://git.eltanin.net/actions/setup-python@v4
|
|
with:
|
|
python-version: "3.x"
|
|
- name: Install pypa/build
|
|
run: >-
|
|
python3 -m
|
|
pip install
|
|
build
|
|
--user
|
|
- name: Build a binary wheel and a source tarball
|
|
run: python3 -m build
|
|
- name: Store the distribution packages
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: python-package-distributions
|
|
path: dist/ |