Skip to content

Commit f8dd1a8

Browse files
committed
create venv after checkout
1 parent d4a674d commit f8dd1a8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/pypi_publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ jobs:
9898
exit 1
9999
;;
100100
esac
101-
102-
python3 -m venv venv
103101
- uses: actions/checkout@v4
104102
with:
105-
fetch-depth: 0
106103
lfs: true
107104
- name: Download wheels artifact
108105
uses: actions/download-artifact@v4
@@ -118,6 +115,7 @@ jobs:
118115
run: |
119116
ls wheelhouse/
120117
118+
python3 -m venv venv
121119
. venv/bin/activate
122120
wheel_filename=$(find wheelhouse/$(python --version | awk '{print $2}' | awk -F. '{printf "vmecpp*-cp%s%s-*manylinux*.whl", $1, $2}'))
123121
echo "Found matching wheel: $wheel_filename"

0 commit comments

Comments
 (0)