Skip to content

Commit 36c6d04

Browse files
authored
Build pyinstaller in a dedicated venv (#6)
1 parent 8fa92a4 commit 36c6d04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build_and_publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ jobs:
5959
- name: Build binary
6060
id: pyinstaller
6161
run: |
62+
python3 -m venv venv
63+
source venv/bin/activate
64+
pip install -r requirements.txt
6265
pip install pyinstaller
6366
pyinstaller --clean --noconfirm --log-level=WARN --distpath=dist --workpath=build cloud2sql.spec
6467
if [ "${{ github.ref_type }}" = tag ]; then

0 commit comments

Comments
 (0)