Skip to content

Nuitka asked me to install imageio. Workflow now installs imageio. #5

Nuitka asked me to install imageio. Workflow now installs imageio.

Nuitka asked me to install imageio. Workflow now installs imageio. #5

name: Build Windows Executable with Nuitka
permissions: write-all
on:
push:
branches:
- master
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install requirements
run: pip install pillow tqdm i18nice[YAML] imageio
- name: Run Nuitka for Pillow_PNG_TGA_Editor
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: pillow_png_tga_editor.py
onefile: true
enable-plugins: tk-inter
include-data-dir: |
localization=localization
images=images
windows-icon-from-ico: "images/Pillows_Hat_Icon.tga"
- name: Run Nuitka for Mirror_Concat_IMG
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: mirror_concat_img.py
onefile: true
enable-plugins: tk-inter
include-data-dir: |
localization=localization
images=images
windows-icon-from-ico: "images/Pillows_Hat_Icon_Mirror.tga"
- name: Run Nuitka for Split_Eyes_IMG
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: split_eyes_img.py
onefile: true
enable-plugins: tk-inter
include-data-dir: |
localization=localization
images=images
windows-icon-from-ico: "images/Pillows_Hat_Icon_Split.tga"
- name: Move Executables from build to root directory
run: |
move build\Pillow_PNG_TGA_Editor.exe .
move build\Mirror_Concat_IMG.exe .
move build\Split_Eyes_IMG.exe .
rd /s /q build
shell: cmd
- name: Create Automatic Windows Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest-nuitka
prerelease: false
title: Latest Nuitka Build
files: |
Pillow_PNG_TGA_Editor.exe
Mirror_Concat_IMG.exe
Split_Eyes_IMG.exe