chore: bump version to 1.0.0 #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: windows-latest | |
| platform: Windows (x64) | |
| rust-target: x86_64-pc-windows-msvc | |
| - os: macos-latest | |
| platform: macOS (Universal) | |
| rust-target: aarch64-apple-darwin x86_64-apple-darwin | |
| - os: ubuntu-latest | |
| platform: Linux (x64) | |
| rust-target: x86_64-unknown-linux-gnu | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ matrix.rust-target }} | |
| - name: Install Linux dependencies | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt update | |
| sudo apt install -y libwebkit2gtk-4.1-dev build-essential curl wget file \ | |
| libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev | |
| - name: Install frontend dependencies | |
| run: npm ci | |
| - name: Build Tauri app | |
| uses: tauri-apps/tauri-action@v0 | |
| id: tauri | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tagName: ${{ github.ref_name }} | |
| releaseName: 'AIKeyVault ${{ github.ref_name }}' | |
| releaseBody: | | |
| ## Downloads | |
| | Platform | Architecture | Package | | |
| |----------|-------------|---------| | |
| | Windows | x64 (also runs on ARM64 via PRISM) | `.msi` / `.exe` / `.zip` (portable) | | |
| | macOS | Universal (Intel + Apple Silicon) | `.dmg` | | |
| | Linux | x64 | `.deb` / `.AppImage` | | |
| > Built automatically via GitHub Actions. All installers are self-contained. | |
| > | |
| > **Portable (.zip)**: No installation required. Extract and run `AIKeyVault.exe` directly. | |
| releaseDraft: false | |
| prerelease: false | |
| - name: Create portable zip (Windows) | |
| if: runner.os == 'Windows' | |
| shell: pwsh | |
| run: | | |
| Compress-Archive -Path src-tauri/target/release/aikeyvault.exe -DestinationPath AIKeyVault_portable_x64.zip -Force | |
| - name: Upload portable zip to release | |
| if: runner.os == 'Windows' | |
| shell: bash | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh release upload ${{ github.ref_name }} AIKeyVault_portable_x64.zip --repo Awfp1314/AIKeyVault --clobber |