Skip to content

Build and upload artefacts on all platforms #7

Build and upload artefacts on all platforms

Build and upload artefacts on all platforms #7

Workflow file for this run

name: Build and upload artefacts on all platforms
on:
# push:
# branches: ["main"]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check-out repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
architecture: "x64"
cache: "pip"
cache-dependency-path: |
**/requirements*.txt
- name: Install Dependencies
run: |
pip install -r requirements.txt
- name: Build Executable
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: viewer.py
onefile: true
enable-plugins: pyside6
include-package: polars
nofollow-import-to: ipython
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }} Build
path: |
build/*.exe
build/*.bin
build/*.app/**/*