From e0718e398cc1619d57d550486e58437e3aaccdc0 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 21:08:38 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9fb158..a95cbc4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,15 +19,9 @@ jobs: python -m pip install poetry poetry install poetry run python -m pip install nuitka - - 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: Build + run: | + poetry run python -m nuitka main.py --assume-yes-for-downloads --standalone --follow-imports --include-data-dir=assets=assets --include-data-files=config.toml=config.toml --include-data-files=agent.js=agent.js - name: Generate ZIP run: | ren main.dist AppleMusicDecrypt