Skip to content

Commit

Permalink
ci: publish: fix venv command
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzlerch committed Jul 30, 2023
1 parent 0f2fde2 commit 860cc5a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish ${package_name} to PyPI
name: Publish to PyPI 📦

on:
push:
Expand All @@ -20,9 +20,8 @@ jobs:

- name: Build source and wheel distributions
run: |
virtualenv /tmp/env
source /tmp/env/bin/activate
XDG_CACHE_HOME=/cache pip3 install -U pip wheel setuptools twine check-manifest build
python -m venv /tmp/env
/tmp/env/bin/pip install -U pip wheel setuptools twine check-manifest build
python -m build
check-manifest .
twine check --strict dist/*
Expand Down

0 comments on commit 860cc5a

Please sign in to comment.