Build MSIX revision #1
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: 'Build MSIX revision' | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build-msix: | |
| runs-on: windows-latest | |
| permissions: | |
| contents: read | |
| env: | |
| WINDOWS_PFX_B64: ${{ secrets.WINDOWS_PFX_B64 }} | |
| WINDOWS_PFX_PASSWORD: ${{ secrets.WINDOWS_PFX_PASSWORD }} | |
| steps: | |
| - name: Checkout main | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: main | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: 'npm' | |
| - name: Install Rust nightly | |
| uses: dtolnay/rust-toolchain@nightly | |
| - name: Install cargo-about | |
| uses: taiki-e/install-action@v2 | |
| with: | |
| tool: cargo-about | |
| - name: Rust cache | |
| uses: swatinem/rust-cache@v2 | |
| with: | |
| workspaces: './src-tauri -> target' | |
| - name: Install frontend dependencies | |
| run: npm install | |
| - name: Build Windows exe (no bundle, no release) | |
| uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} | |
| TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} | |
| with: | |
| args: '--no-bundle' | |
| - name: Fetch tool binaries for MSIX | |
| run: npm run manifest:fetch | |
| - name: Build and sign MSIX | |
| uses: ./.github/actions/msix-build-sign | |
| with: | |
| pfx-b64: ${{ secrets.WINDOWS_PFX_B64 }} | |
| pfx-password: ${{ secrets.WINDOWS_PFX_PASSWORD }} | |
| - name: Upload MSIX artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ovd-msix | |
| path: OpenVideoDownloader_x64.msix |