Skip to content

build executable

build executable #1

Workflow file for this run

name: build executable
on:
push:
tags:
- 'v*'
workflow_dispatch:
pull_request:
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Compile with Nuitka
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: main.py
onefile: 'true'
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: nuitka build for ${{ runner.os }}
path: |
build/*.exe
build/*.bin
build/*.app/**/*
include-hidden-files: true