summaryrefslogtreecommitdiff
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
parent6867feba85e4ee99a7ea3a704377d130849b5a4e (diff)
downloaddecky-loader-06fccb792f33fbf728940fdcfb62db9017fb05c6.tar.gz
decky-loader-06fccb792f33fbf728940fdcfb62db9017fb05c6.zip
fix ci (hopefully, because act wont work)
-rw-r--r--.github/workflows/build-win.yml5
-rw-r--r--.github/workflows/build.yml3
-rw-r--r--.github/workflows/typecheck.yml2
-rw-r--r--backend/pyrightconfig.json (renamed from pyrightconfig.json)0
4 files changed, 7 insertions, 3 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
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 07b5b804..3b37cc10 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -70,6 +70,7 @@ jobs:
rm -r /tmp/sqlite-autoconf-3420000
- name: Install Python dependencies ⬇️
+ working-directory: ./backend
run: |
python -m pip install --upgrade pip
pip install pyinstaller==5.13.0
@@ -86,7 +87,7 @@ 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: Upload package artifact ⬆️
if: ${{ !env.ACT }}
diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml
index 056b4f9f..01a4bdff 100644
--- a/.github/workflows/typecheck.yml
+++ b/.github/workflows/typecheck.yml
@@ -13,6 +13,7 @@ jobs:
- uses: actions/checkout@v2 # Check out the repository first.
- name: Install Python dependencies
+ working-directory: backend
run: |
python -m pip install --upgrade pip
[ -f requirements.txt ] && pip install -r requirements.txt
@@ -28,6 +29,7 @@ jobs:
with:
python-version: "3.10.6"
no-comments: true
+ working-directory: backend
- name: Run tsc (TypeScript)
working-directory: frontend
diff --git a/pyrightconfig.json b/backend/pyrightconfig.json
index 9937f227..9937f227 100644
--- a/pyrightconfig.json
+++ b/backend/pyrightconfig.json