Skip to content

add badge to README #17

add badge to README

add badge to README #17

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"