Skip to content

Commit 81d5a20

Browse files
author
Soham Dasgupta
committed
ci: remove build output checks
1 parent c5020ec commit 81d5a20

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
x64_suffix: "-x64"
3030
x86_suffix: "-x86"
3131
icon: logo.ico
32-
- name: Check build outputs
33-
shell: pwsh
34-
run: |
35-
if (-not (Test-Path -Path "$cwd\build\polygon-x86.exe")) { throw "polygon-x86.exe not found" };
36-
if (-not (Test-Path -Path "$cwd\build\polygon-x64.exe")) { throw "polygon-x64.exe not found" };
3732
- name: Generate checksums
3833
shell: pwsh
3934
if: startsWith(github.ref, 'refs/tags/v')

polygon.ps1

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
Remove-Item -Path .\build\* -Recurse -Force
2-
Ahk2Exe.exe /in polygon.ahk /out .\build\polygon-x64.exe /icon logo.ico /base "$HOME\.scoop\apps\autohotkey\current\v2\AutoHotkey64.exe"
3-
Ahk2Exe.exe /in polygon.ahk /out .\build\polygon-x86.exe /icon logo.ico /base "$HOME\.scoop\apps\autohotkey\current\v2\AutoHotkey32.exe"
4-
candle.exe .\polygon.wxs -out .\build\polygon-x86.wixobj -dVersion="0.0.0" -arch x86
5-
candle.exe .\polygon.wxs -out .\build\polygon-x64.wixobj -dVersion="0.0.0" -arch x64
6-
light.exe .\build\polygon-x86.wixobj -ext WixUIExtension -out .\build\polygon-x86.msi
7-
light.exe .\build\polygon-x64.wixobj -ext WixUIExtension -out .\build\polygon-x64.msi
1+
$cwd = (Get-Location).Path;
2+
3+
Remove-Item -Path "$cwd\build\*" -Recurse -Force;
4+
5+
Ahk2Exe.exe /in polygon.ahk /out "$cwd\build\polygon-x64.exe" /icon logo.ico /base "$HOME\.scoop\apps\autohotkey\current\v2\AutoHotkey64.exe";
6+
Ahk2Exe.exe /in polygon.ahk /out "$cwd\build\polygon-x86.exe" /icon logo.ico /base "$HOME\.scoop\apps\autohotkey\current\v2\AutoHotkey32.exe";
7+
8+
candle.exe .\polygon.wxs -out "$cwd\build\polygon-x86.wixobj" -dVersion="0.0.0" -arch x86;
9+
candle.exe .\polygon.wxs -out "$cwd\build\polygon-x64.wixobj" -dVersion="0.0.0" -arch x64;
10+
11+
light.exe "$cwd\build\polygon-x86.wixobj" -ext WixUIExtension -out "$cwd\build\polygon-x86.msi";
12+
light.exe "$cwd\build\polygon-x64.wixobj" -ext WixUIExtension -out "$cwd\build\polygon-x64.msi";

0 commit comments

Comments
 (0)