Skip to content

Commit

Permalink
ci: try to use venv
Browse files Browse the repository at this point in the history
  • Loading branch information
k4black committed May 14, 2024
1 parent 73340c2 commit f13c7f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
steps:
- name: Build wheel
run: |
python3 -m pip install --upgrade build wheel setuptools
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade build wheel setuptools
python3 -m build --wheel --sdist --outdir ./dist --no-isolation
- uses: pypa/gh-action-pypi-publish@release/v1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
- uses: actions/checkout@v4
- name: Build wheel
run: |
python3 -m pip install --upgrade build wheel setuptools
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade build wheel setuptools
python3 -m build --wheel --sdist --outdir ./dist --no-isolation
- name: Show dist files
run: ls -lah ./dist
Expand Down

0 comments on commit f13c7f9

Please sign in to comment.