mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-04-19 12:19:49 +08:00
29 lines
787 B
YAML
29 lines
787 B
YAML
name: Build Windows Installer
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*.*.*"
|
|
jobs:
|
|
windows_installer:
|
|
name: Build the Inno Setup Installer
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/setup-python@v5
|
|
- uses: actions/checkout@v4
|
|
- shell: pwsh
|
|
run: ./_build-exe.ps1
|
|
- name: Compile .ISS to .EXE Installer
|
|
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
|
|
with:
|
|
path: _setup.iss
|
|
options: /O+
|
|
- name: Upload binaries to release
|
|
uses: svenstaro/upload-release-action@v2
|
|
with:
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
file: dist/rembg-cli-installer.exe
|
|
asset_name: rembg-cli-installer.exe
|
|
tag: ${{ github.ref }}
|
|
overwrite: true
|