Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 17 additions & 16 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Windows Build & Pyright Check

on:
pull_request:
branches:
- main
paths:
- '**/*.py'
push:
branches:
- main
paths:
- '**/*.py' # Only rebuild if Python files changed

jobs:
build:
Expand All @@ -15,17 +15,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Set up Node.js (for pyright)
uses: actions/setup-node@v5
with:
# use the latest Node.js available on the runner/tool-cache
node-version: 'latest'

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install pyright
run: npm install -g pyright

Expand All @@ -40,9 +40,10 @@ jobs:
- name: Build Windows executables
run: ./win-build.cmd

- name: Upload build artifacts for debugging
uses: actions/upload-artifact@v4
with:
name: windows-executables
path: |
*.exe
- name: Commit updated .exe files to main
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add *.exe
git commit -m "Update Windows executables from latest merged PR" || echo "No changes to commit"
git push origin main
45 changes: 0 additions & 45 deletions .github/workflows/windows-commit-artifacts.yml

This file was deleted.

1 change: 0 additions & 1 deletion gettools.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
THE SOFTWARE.
"""


from __future__ import print_function
import os
import sys
Expand Down