From 47255a754a86af194d3b84ca43a1ed4934227ff5 Mon Sep 17 00:00:00 2001 From: Adrien Perrin Date: Tue, 21 May 2024 08:27:33 +0000 Subject: [PATCH] build package in docker container --- .github/workflows/tests_build.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/tests_build.yml b/.github/workflows/tests_build.yml index c89b9d46..86acb94d 100644 --- a/.github/workflows/tests_build.yml +++ b/.github/workflows/tests_build.yml @@ -107,13 +107,8 @@ jobs: - name: 'Checkout repository' uses: actions/checkout@v4 - - name: Set up Python 3.11 - uses: actions/setup-python@v4 - with: - python-version: 3.11 - - name: Build package - run: NANSAT_RELEASE="${{ github.ref_type == 'tag' && github.ref_name || '0.0.0' }}" python setup.py sdist + run: docker run --rm -v "$(pwd):/src" "$BASE_IMAGE_NAME" python setup.py sdist shell: bash - name: Publish