Skip to content

Commit

Permalink
refactor(build.yml): comment out hook.py backup and replace steps
Browse files Browse the repository at this point in the history
  • Loading branch information
HsiangNianian committed Dec 8, 2024
1 parent de1544f commit 111599c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
python -m pip install -r ./requirements_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack.py ./OlivOS/hook.py
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack.py ./OlivOS/hook.py
pyinstaller ./main.spec
- name: Run artifact
run: |
Expand Down Expand Up @@ -60,8 +60,8 @@ jobs:
python -m pip install -r ./requirements_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
pyinstaller ./main_debug.spec
- name: Run artifact
run: |
Expand Down Expand Up @@ -101,8 +101,8 @@ jobs:
python -m pip install -r ./requirements_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack.py ./OlivOS/hook.py
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack.py ./OlivOS/hook.py
pyinstaller ./main.spec
- name: Run artifact
run: |
Expand Down Expand Up @@ -142,8 +142,8 @@ jobs:
python -m pip install -r ./requirements_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
pyinstaller ./main_debug.spec
- name: Run artifact
run: |
Expand Down Expand Up @@ -183,8 +183,8 @@ jobs:
python -m pip install -r ./requirements.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
pyinstaller ./main_linux.spec
- name: Run artifact
run: |
Expand Down

0 comments on commit 111599c

Please sign in to comment.