Skip to content

Commit

Permalink
Merge pull request #1584 from phargogh/task/1581-release-3.14.2
Browse files Browse the repository at this point in the history
Fix sdist version information in github actions sdist builds
  • Loading branch information
emlys authored May 28, 2024
2 parents c9a708c + 2284cfb commit ef4dbd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ jobs:
os: [windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch complete history for accurate versioning

- uses: ./.github/actions/setup_env
with:
Expand All @@ -176,7 +178,9 @@ jobs:
# computer is guaranteed to have cython available at build
# time. Thus, it is no longer necessary to distribute the
# .cpp files in addition to the .pyx files.
python -m build --sdist
#
# Elevating any python warnings to errors to catch build issues ASAP.
python -W error -m build --sdist
- name: Install from source distribution
run : |
Expand Down

0 comments on commit ef4dbd8

Please sign in to comment.