From d36f3e5560e25aac8372e08170abe068fbfec034 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 31 Aug 2023 09:37:19 +0200 Subject: [PATCH] build: use debian container for release-python build The build keeps failing because the dependencies can't be installed. Let's use the prebuild container for this as well. Signed-off-by: Daniel Wagner --- .github/workflows/release-python.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 86dc0de1..d9051c96 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -15,12 +15,14 @@ jobs: build_sdist: name: Build source distribution runs-on: ubuntu-latest + container: + image: ghcr.io/igaw/linux-nvme/debian.python:0.34 steps: - - name: install libraries - run: sudo apt-get install gcc pkg-config libjson-c-dev libssl-dev python3-dev - - uses: actions/checkout@v3 + - name: Allow workspace + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Build sdist run: pipx run build --sdist -- 2.50.1