Skip to content

Commit

Permalink
test github action windows installer
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgatis committed Jan 31, 2024
1 parent c19aacb commit 43cfc1b
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 10 additions & 1 deletion .github/workflows/windows_installer.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Build Windows Installer

on:
push:
tags:
Expand All @@ -15,5 +16,13 @@ jobs:
- name: Compile .ISS to .EXE Installer
uses: Minionguyjpro/[email protected]
with:
path: setup.iss
path: _setup.iss
options: /O+
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/windows-cli-installer.exe
asset_name: windows-cli-installer.exe
tag: ${{ github.ref }}
overwrite: true
File renamed without changes.
4 changes: 2 additions & 2 deletions setup-exe.iss → _setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\{#MyAppName}
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
OutputBaseFilename=setup
OutputBaseFilename=windows-cli-installer.exe
Compression=lzma
SolidCompression=yes
WizardStyle=modern
Expand Down Expand Up @@ -48,4 +48,4 @@ begin
setArrayLength(Result, 1)
Result[0] := ExpandConstant('{app}');
end;
#include "modpath.iss"
#include "_modpath.iss"
1 change: 1 addition & 0 deletions build-exe.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Install required packages
pip install pyinstaller
pip install -e ".[cli]"

# Create PyInstaller spec file with specified data collections
Expand Down

0 comments on commit 43cfc1b

Please sign in to comment.