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 349f800 commit 4d56831
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
build:
name: Build
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout Concordia
Expand All @@ -37,9 +37,7 @@ jobs:
pip list
- name: Build distribution
run: |
# python setup.py sdist bdist_wheel
python -m build
ls dist/*
python setup.py sdist bdist_wheel
# 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 4d56831

Please sign in to comment.