Skip to content

Commit f492dbd

Browse files
Update release-binaries.yml
1 parent 9bc2dc3 commit f492dbd

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/release-binaries.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Install Python deps
5454
shell: bash
5555
run: |
56-
python -m pip install -U pip wheel nuitka
56+
python -m pip install -U pip wheel nuitka zstandard
5757
[[ -f requirements.txt ]] && pip install -r requirements.txt || true
5858
5959
- name: Write entrypoint
@@ -64,15 +64,11 @@ jobs:
6464
- name: Build with Nuitka
6565
shell: bash
6666
run: |
67-
JOBS=$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 2)
6867
python -m nuitka \
69-
--onefile \
70-
--lto=thin \
71-
--jobs="$JOBS" \
68+
--mode=onefile \
7269
--assume-yes-for-downloads \
7370
--output-dir=build \
7471
--output-filename=bangen \
75-
--follow-imports \
7672
--nofollow-import-to=tkinter,unittest,test,distutils,setuptools,pkg_resources \
7773
--python-flag=no_asserts,no_docstrings,isolated \
7874
--onefile-tempdir-spec="{CACHE_DIR}/bangen/${{ github.ref_name }}" \
@@ -101,7 +97,7 @@ jobs:
10197
needs: build
10298
runs-on: ubuntu-latest
10399
permissions:
104-
contents: write # required for action-gh-release to create releases
100+
contents: write
105101

106102
steps:
107103
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)