File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments