Skip to content

Commit 65af00b

Browse files
committed
ci: add Windows portable zip to release artifacts
1 parent c3612ae commit 65af00b

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949

5050
- name: Build Tauri app
5151
uses: tauri-apps/tauri-action@v0
52+
id: tauri
5253
env:
5354
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5455
with:
@@ -59,10 +60,26 @@ jobs:
5960
6061
| Platform | Architecture | Package |
6162
|----------|-------------|---------|
62-
| Windows | x64 (also runs on ARM64 via PRISM) | `.msi` / `.exe` |
63+
| Windows | x64 (also runs on ARM64 via PRISM) | `.msi` / `.exe` / `.zip` (portable) |
6364
| macOS | Universal (Intel + Apple Silicon) | `.dmg` |
6465
| Linux | x64 | `.deb` / `.AppImage` |
6566
6667
> Built automatically via GitHub Actions. All installers are self-contained.
68+
>
69+
> **Portable (.zip)**: No installation required. Extract and run `AIKeyVault.exe` directly.
6770
releaseDraft: false
6871
prerelease: false
72+
73+
- name: Create portable zip (Windows)
74+
if: runner.os == 'Windows'
75+
shell: pwsh
76+
run: |
77+
Compress-Archive -Path src-tauri/target/release/aikeyvault.exe -DestinationPath AIKeyVault_portable_x64.zip -Force
78+
79+
- name: Upload portable zip to release
80+
if: runner.os == 'Windows'
81+
shell: bash
82+
env:
83+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84+
run: |
85+
gh release upload ${{ github.ref_name }} AIKeyVault_portable_x64.zip --repo Awfp1314/AIKeyVault --clobber

0 commit comments

Comments
 (0)