Skip to content

Commit

Permalink
Update pypi-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jagapiou authored Nov 26, 2024
1 parent 1d984a1 commit 349f800
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
run_tests:
description: 'Test sdist before upload'
type: boolean
default: true
default: false
upload_to_test_pypi:
description: 'Upload to Test PyPi'
type: boolean
Expand All @@ -37,7 +37,9 @@ jobs:
pip list
- name: Build distribution
run: |
python setup.py sdist bdist_wheel
# python setup.py sdist bdist_wheel
python -m build
ls dist/*
# Workaround old setuptools not normalizing name in sdist.
for OLD in ./dist/gdm-concordia-*; do
NEW="$(echo "$OLD" | sed s/gdm-concordia/gdm_concordia/)"
Expand Down

0 comments on commit 349f800

Please sign in to comment.