-
-
Notifications
You must be signed in to change notification settings - Fork 28
54 lines (43 loc) · 1.18 KB
/
build-windows.yml
File metadata and controls
54 lines (43 loc) · 1.18 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Build on Windows
permissions:
contents: read
on:
push:
branches:
- main
tags:
- '*'
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v3
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -U
- name: Build Exe
run:
python build.py
- name: Compile Windows installer with Inno Setup
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
with:
path: Aura-Text-setup-x64.iss
- name: Upload ZIP
uses: actions/upload-artifact@v7
with:
name: Aura-Text
path: dist
- name: Upload installer
uses: actions/upload-artifact@v7
with:
name: Aura-Text-Installer-Output
path: Output