Skip to content

Commit

Permalink
fix: activate virtualenv in build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
HsiangNianian committed Dec 8, 2024
1 parent 84e309d commit ba62f74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ jobs:
run: |
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack.py ./OlivOS/hook.py
source .vnev/bin/activate
uv run scripts.py build
env:
OLIVOS_ENV_PACK: "1"
Expand Down Expand Up @@ -263,6 +264,7 @@ jobs:
run: |
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
source .vnev/bin/activate
uv run scripts.py build debug
env:
OLIVOS_ENV_PACK: "1"
Expand Down Expand Up @@ -380,6 +382,7 @@ jobs:
run: |
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
source .vnev/bin/activate
uv run scripts.py build
env:
OLIVOS_ENV_DEBUG: "1"
Expand Down Expand Up @@ -408,6 +411,7 @@ jobs:
run: |
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
source .vnev/bin/activate
uv run scripts.py build
env:
OLIVOS_ENV_DEBUG: "1"
Expand Down
2 changes: 0 additions & 2 deletions scripts.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# /// script
# requires-python = ">=3.8"
# dependencies = [
# "OlivOS",
# "pyinstaller",
# ]
# ///

Expand Down

0 comments on commit ba62f74

Please sign in to comment.