From e1b90001fc6a3117a7aec13a082c4b3b66653972 Mon Sep 17 00:00:00 2001 From: ChoiseU Date: Fri, 18 Jul 2025 21:13:47 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20main.py=20=EB=AA=BB=EC=B0=BE?= =?UTF-8?q?=EC=95=84=EA=B0=80=EB=8A=94=20=ED=98=84=EC=83=81=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_release_and_notify.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_release_and_notify.yml b/.github/workflows/build_release_and_notify.yml index 558fea7..5f60581 100644 --- a/.github/workflows/build_release_and_notify.yml +++ b/.github/workflows/build_release_and_notify.yml @@ -74,7 +74,14 @@ jobs: # 6. PyInstaller를 사용해 파이썬 코드를 실행 파일로 만듭니다. - name: Build executable with PyInstaller - run: poetry run pyinstaller main.py --name ${{ env.EXE_NAME }} --onefile --noconsole + run: | + poetry run pyinstaller \ + --clean \ + --additional-hooks-dir ./hooks \ + --add-data "src/assets:assets" \ + --onefile \ + --name qgenie-api \ + src/main.py # 7. 빌드된 실행 파일을 다음 단계(deploy)에서 사용할 수 있도록 아티팩트로 업로드합니다. - name: Upload artifact From 5234ca151503bf1263c7950dd08f07a625b3fade Mon Sep 17 00:00:00 2001 From: ChoiseU Date: Fri, 18 Jul 2025 21:15:15 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EC=98=A4=ED=83=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_release_and_notify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_release_and_notify.yml b/.github/workflows/build_release_and_notify.yml index 5f60581..25ace87 100644 --- a/.github/workflows/build_release_and_notify.yml +++ b/.github/workflows/build_release_and_notify.yml @@ -78,10 +78,10 @@ jobs: poetry run pyinstaller \ --clean \ --additional-hooks-dir ./hooks \ - --add-data "src/assets:assets" \ + --add-data "app/assets:assets" \ --onefile \ --name qgenie-api \ - src/main.py + app/main.py # 7. 빌드된 실행 파일을 다음 단계(deploy)에서 사용할 수 있도록 아티팩트로 업로드합니다. - name: Upload artifact