Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
labbots committed May 24, 2024
1 parent f9fcd9d commit bd01cf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/_build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
python3 -c 'import tkinter; tcl = tkinter.Tcl(); print(tcl.call("info", "patchlevel"))'
- name: Install ImageMagick & create-dmg
run: brew install imagemagick create-dmg
run: brew install imagemagick create-dmg tcl-tk

- name: Package application with PyInstaller
run: poetry run pyinstaller spec_files/ui_app/NiimPrintX-mac.spec --noconfirm --clean
Expand All @@ -66,10 +66,5 @@ jobs:
name: NiimPrintX-CLI-${{ steps.get_tag_name.outputs.VERSION }}-MacOSX-${{ steps.get_architecture.outputs.ARCH }}.tar.gz
path: dist/NiimPrintX-CLI-${{ steps.get_tag_name.outputs.VERSION }}-MacOSX-${{ steps.get_architecture.outputs.ARCH }}.tar.gz
retention-days: 1
# - name: Create GitHub Release
# id: create_release
# uses: softprops/action-gh-release@v2
# with:
# files: dist/NiimPrintX-Installer-${{ steps.get_tag_name.outputs.VERSION }}-MacOSX.dmg
# generate_release_notes: true


2 changes: 1 addition & 1 deletion spec_files/ui_app/NiimPrintX-mac.spec
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ a = Analysis(
pathex=['.'],
binaries=[],
datas=datas,
hiddenimports=['_tkinter'],
hiddenimports=['tkinter'],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
Expand Down

0 comments on commit bd01cf0

Please sign in to comment.