Skip to content

Commit

Permalink
build package in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed May 21, 2024
1 parent bea31cc commit 47255a7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/tests_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47255a7

Please sign in to comment.