Skip to content

Commit

Permalink
Going back to Nuitka action now that venv issue is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
cfcurtis committed Jun 4, 2024
1 parent a5020f1 commit 9b5324e
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,22 +138,22 @@ jobs:
python3 pdfstitcher/update_loc.py --compile
echo "VERSION_STRING=v$(grep 'version' pyproject.toml | awk '{print $3}' | sed 's/\"//g')" >> $GITHUB_ENV
- name: Build with Nuitka
run: |
pip3 install nuitka
python3 -m nuitka \
--assume-yes-for-downloads \
--script-name=pdfstitcher/gui/app.py \
--standalone \
--macos-create-app-bundle \
--macos-app-icon=pdfstitcher/resources/stitcher-icon.icns \
--include-data-dir=pdfstitcher/resources=pdfstitcher/resources \
--include-data-dir=pdfstitcher/locale=pdfstitcher/locale \
--include-package-data=pdf_mangler \
--company-name="Charlotte Curtis" \
--product-name="PDF Stitcher" \
--macos-app-name="PDF Stitcher" \
--macos-app-version="1.0.b1"
- uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: pdfstitcher/gui/app.py
standalone: true
macos-create-app-bundle: true
macos-app-icon: pdfstitcher/resources/stitcher-icon.icns
include-data-dir: |
pdfstitcher/resources=pdfstitcher/resources
pdfstitcher/locale=pdfstitcher/locale
include-package-data: pdf_mangler
company-name: "Charlotte Curtis"
product-name: "PDF Stitcher"
macos-app-name: "PDF Stitcher"
macos-app-version: ${{ env.VERSION_STRING }}
output-dir: build

- name: Rename app
run: mv build/app.app pdfstitcher.app
Expand Down

0 comments on commit 9b5324e

Please sign in to comment.