From 3b8a0fb309cb3e86fab689017141c444be2c59e6 Mon Sep 17 00:00:00 2001 From: wszqkzqk Date: Sun, 24 Jul 2022 16:32:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=9E=84=E5=BB=BA=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-pr.yml | 5 +++-- .github/workflows/build.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index cbef037..f664c2e 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -127,15 +127,16 @@ jobs: - name: Build pypvz with Nuitka run: | - yes | python -m nuitka --standalone \ + yes | python -m nuitka \ --show-progress \ + --follow-imports \ --show-memory \ --output-dir=out \ --linux-onefile-icon=pypvz.ico \ - --include-data-dir=resources=resources \ -o ./out/pypvz \ --remove-output \ main.py + cp ./resources ./out/resources tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst - name: Release the version built by nuitka diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cb3510..4d9cb58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,15 +129,16 @@ jobs: - name: Build pypvz with Nuitka run: | - yes | python -m nuitka --standalone \ + yes | python -m nuitka \ --show-progress \ + --follow-imports \ --show-memory \ --output-dir=out \ --linux-onefile-icon=pypvz.ico \ - --include-data-dir=resources=resources \ -o ./out/pypvz \ --remove-output \ main.py + cp ./resources ./out/resources tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst - name: Release the version built by nuitka