Skip to content

Commit

Permalink
zip windows release test
Browse files Browse the repository at this point in the history
  • Loading branch information
pnry committed Nov 28, 2024
1 parent 7ae54d0 commit ff462ff
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,7 @@ jobs:
if: runner.os == 'Windows'
run: |
powershell -Command "
$exeFile = Get-ChildItem dist -Filter 'Tipitakapali.org-*.exe' | Select-Object -ExpandProperty Name
$baseName = $exeFile -replace '.exe$', ''
$zipName = \"${baseName}-windows.zip\"
Compress-Archive -Path dist/**/$exeFile,dist/**/latest*.yml,dist/package.json -DestinationPath dist/$zipName
Write-Host \"Created zip: $zipName\"
Compress-Archive -Path dist/**/Tipitakapali.org-*.exe,dist/**/latest*.yml,dist/package.json -DestinationPath dist/Tipitakapali.org-windows-build.zip
"
Expand All @@ -125,7 +121,7 @@ jobs:
dist/**/*.AppImage
dist/**/*.deb
dist/package.json
dist/**/Tipitakapali.org-*-windows.zip
dist/Tipitakapali.org-windows-build.zip
if-no-files-found: ignore

Expand Down Expand Up @@ -180,7 +176,7 @@ jobs:
## For Windows:
- **Download the `-windows.zip` file**.
- **Download the `Tipitakapali.org-windows-build.zip` file**.
- **Unzip/Extract** the contents of the file.
- Locate and double-click the **install file (`.exe`)** to start the installation process.
- **Note**: I do not have a **paid certificate** to sign the app, so Windows Defender SmartScreen may block the installation.
Expand Down Expand Up @@ -224,7 +220,7 @@ jobs:
dist/**/Tipitakapali.org-*.exe
dist/**/*.AppImage
dist/**/*.deb
dist/**/Tipitakapali.org-*-windows.zip
dist/Tipitakapali.org-windows-build.zip
# dist/**/*.dmg
# if-no-files-found: ignore

Expand Down

0 comments on commit ff462ff

Please sign in to comment.