-
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 1.04 KB
/
build_and_release.yml
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
name: build_and_release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build_and_release:
strategy:
fail-fast: false
matrix:
python: [3.11]
os: [windows-latest]
runs-on: ${{ matrix.os }}
name: Build and release kanjireader
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: ${{ matrix.python }}
spec: "scripts/pyinstaller.spec"
requirements: "requirements.txt"
- name: Compile install wizard
uses: Minionguyjpro/Inno-Setup-Action@v1.1.0
with:
path: "scripts/setup.iss"
options: /DMyAppVersion="${{ github.ref_name }}"
- name: Create release and upload
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
prerelease: false
draft: false
files: "dist/kanjireader_setup.exe"