summaryrefslogtreecommitdiff
path: root/.github/workflows/build-win.yml
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2023-09-30 12:42:02 -0400
committermarios8543 <marios8543@gmail.com>2023-10-17 17:08:23 +0300
commit06fccb792f33fbf728940fdcfb62db9017fb05c6 (patch)
tree1751f49d7c9db2a870801935bc10512cf784ec25 /.github/workflows/build-win.yml
parent6867feba85e4ee99a7ea3a704377d130849b5a4e (diff)
downloaddecky-loader-06fccb792f33fbf728940fdcfb62db9017fb05c6.tar.gz
decky-loader-06fccb792f33fbf728940fdcfb62db9017fb05c6.zip
fix ci (hopefully, because act wont work)
Diffstat (limited to '.github/workflows/build-win.yml')
-rw-r--r--.github/workflows/build-win.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml
index b1eee0dd..6b4051da 100644
--- a/.github/workflows/build-win.yml
+++ b/.github/workflows/build-win.yml
@@ -27,6 +27,7 @@ jobs:
python-version: "3.11.4"
- name: Install Python dependencies ⬇️
+ working-directory: ./backend
run: |
python -m pip install --upgrade pip
pip install pyinstaller==5.13.0
@@ -43,10 +44,10 @@ jobs:
run: pnpm run build
- name: Build Python Backend 🛠️
- run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data "./backend/src/static;/backend/src/static" --add-data "./backend/locales;/backend/locales" --add-data "./backend/src/legacy;/backend/src/legacy" --add-data "./plugin;/plugin" --hidden-import=sqlite3 ./backend/main.py
+ run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data "./backend/static;/backend/static" --add-data "./backend/locales;/backend/locales" --add-data "./backend/src/legacy;/backend/src/legacy" --add-data "./plugin;/plugin" --hidden-import=sqlite3 ./backend/main.py
- name: Build Python Backend (noconsole) 🛠️
- run: pyinstaller --noconfirm --noconsole --onefile --name "PluginLoader_noconsole" --add-data "./backend/src/static;/backend/src/static" --add-data "./backend/locales;/backend/locales" --add-data "./backend/src/legacy;/backend/src/legacy" --add-data "./plugin;/plugin" --hidden-import=sqlite3 ./backend/main.py
+ run: pyinstaller --noconfirm --noconsole --onefile --name "PluginLoader_noconsole" --add-data "./backend/static;/backend/static" --add-data "./backend/locales;/backend/locales" --add-data "./backend/src/legacy;/backend/src/legacy" --add-data "./plugin;/plugin" --hidden-import=sqlite3 ./backend/main.py
- name: Upload package artifact ⬆️
uses: actions/upload-artifact@v3