From b77015ca1df77af8ac2f1b68c38c869b308e8d3b Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 21 Dec 2023 13:07:52 +0200 Subject: [PATCH] CI: add workflow to build package Signed-off-by: Aarni Koskela --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..3d35af11 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,16 @@ +name: build +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: 3 + - run: pip install build + - run: python -m build . + - uses: actions/upload-artifact@v4 + with: + name: dist + path: dist