1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build Windows EXE
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install PyInstaller
run: python -m pip install --upgrade pyinstaller
- name: Build
run: pyinstaller RailwayScannerPC.spec
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: RailwayScannerPC
path: dist/RailwayScannerPC.exe