From 14070be9627babd7dbc5200f826cdb93679c9cf4 Mon Sep 17 00:00:00 2001 From: angie Date: Tue, 20 Dec 2022 12:58:50 -0300 Subject: [PATCH] isolated python build --- .github/workflows/isolated_python_build.yml | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/isolated_python_build.yml diff --git a/.github/workflows/isolated_python_build.yml b/.github/workflows/isolated_python_build.yml new file mode 100644 index 0000000..198e553 --- /dev/null +++ b/.github/workflows/isolated_python_build.yml @@ -0,0 +1,22 @@ +name: Build and upload to PyPI + +# Build on every branch push, tag push, and pull request change: +on: [push, pull_request] + +jobs: + buildstuff: + name: Build + runs-on: ubuntu-latest + + steps: + - name: Checkout reposistory + uses: actions/checkout@v3 + + - name: Install dependencies + run: sudo apt update && sudo apt install -y python3-venv + + - name: Install build module + run: pip install build -U + + - name: Build + run: python3 -m build