Skip to content

missed a line in refactor #334

missed a line in refactor

missed a line in refactor #334

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
defaults:
run:
shell: bash
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: 3.13
architecture: 'x86'
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
activate-environment: "true"
- name: Install dependencies
run: |
uv sync --locked --all-extras --dev
- name: Compile lzss
run: |
cd lib/lzss
gcc lzss.c -o lzss -O3
- name: pyinstaller
run: |
pyinstaller VW_Flash_GUI.spec
- name: Archive EXE artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: |
dist
- name: zip win artifact
run: |
powershell Compress-Archive dist release.zip
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: release.zip
prerelease: true