nicklockwood / SwiftFormat

A command-line tool and Xcode Extension for formatting Swift code
MIT License
7.92k stars 639 forks source link

GHA: add a workflow for performing a Windows release #1471

Closed compnerd closed 1 year ago

compnerd commented 1 year ago

Add some build rules to package up a Windows installer for release builds. Perform a separate build that is a release configuration and does not include debug information to minimise size and optimize load times.

Package this up into a MSI installer. Ideally, we would perform code signing for the MSI and the binary, but that can be done as a follow up as it requires a Code Signing certificate to be available.

The default install location is: %SystemDrive%\Program Files\nicklockwood\SwiftFormat following Windows conventions of [ProgramFiles][Manufacturer][ProductName].

Prefer to use swoftprops/action-gh-release over actions/release as the latter is marked as deprecated.

codecov[bot] commented 1 year ago

Codecov Report

Merging #1471 (1221a7e) into master (1758719) will increase coverage by 0.00%. The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1471      +/-   ##
=========================================
  Coverage        0   0.00%              
=========================================
  Files           0      44      +44     
  Lines           0   54360   +54360     
=========================================
+ Hits            0       2       +2     
- Misses          0   54358   +54358     

see 44 files with indirect coverage changes