Skip to content

Changed nuitka-version in build_executable_nuitka.yml to the one that… #5

Changed nuitka-version in build_executable_nuitka.yml to the one that…

Changed nuitka-version in build_executable_nuitka.yml to the one that… #5

name: Build Windows Executable with Nuitka
permissions: write-all
on:
push:
branches:
- master
paths:
- "src/**"
- ".github/workflows/build_executable_nuitka.yml"
jobs:
build-windows:
name: Build for 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
pip install rich
- name: Install imageio
run: pip install imageio
- name: Run Nuitka for BDSP_ColorVariation_JSONParser
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: 2.6.9
script-name: src/BDSP_ColorVariation_JSONParser/json_parser.py
output-file: BDSP_ColorVariation_JSONParser
mode: app
enable-plugins: tk-inter
include-data-dir: src/BDSP_ColorVariation_JSONParser/images=images
windows-icon-from-ico: "src/BDSP_ColorVariation_JSONParser/images/json_parser.tga"
- name: Move Executable from build to root directory
run: |
move build\BDSP_ColorVariation_JSONParser.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: BDSP_ColorVariation_JSONParser.exe