From 82e9960bcf184c88669a4e7b7fc3eb8d7aa7f8e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C=E8=A7=82=E5=AF=9F=E6=97=A5=E5=BF=97?= Date: Sat, 4 May 2024 20:57:54 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e8fa353..98145ed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,8 +20,15 @@ jobs: poetry install poetry run python -m pip install nuitka - name: Build - run: | - poetry run python -m nuitka main.py --standalone --follow-imports --include-data-dir=assets=assets --include-data-files=config.toml=config.toml --include-data-files=agent.js=agent.js + - uses: Nuitka/Nuitka-Action@main + with: + nuitka-version: main + script-name: main.py + standalone: true + include-data-dir: assets=assets + include-data-files: | + agent.js=agent.js + config.toml=config.toml - name: Generate ZIP run: | ren main.dist AppleMusicDecrypt