[FIX] Add missing index.html for Vite build #4
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*' | |
| jobs: | |
| build: | |
| permissions: | |
| contents: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| # Linux | |
| - platform: ubuntu-22.04 | |
| target: x86_64-unknown-linux-gnu | |
| args: '' | |
| # Windows | |
| - platform: windows-latest | |
| target: x86_64-pc-windows-msvc | |
| args: '' | |
| # macOS Intel | |
| - platform: macos-latest | |
| target: x86_64-apple-darwin | |
| args: '--target x86_64-apple-darwin' | |
| # macOS Apple Silicon | |
| - platform: macos-latest | |
| target: aarch64-apple-darwin | |
| args: '--target aarch64-apple-darwin' | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ matrix.target }} | |
| - name: Install Linux dependencies | |
| if: matrix.platform == 'ubuntu-22.04' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libayatana-appindicator3-dev librsvg2-dev | |
| - name: Install frontend dependencies | |
| run: npm ci | |
| - name: Build Tauri app | |
| uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tagName: ${{ github.ref_name }} | |
| releaseName: 'Forky ${{ github.ref_name }}' | |
| releaseBody: | | |
| Descarga la versión para tu sistema operativo: | |
| - **Windows:** `.msi` o `.exe` | |
| - **macOS Intel:** `x64.dmg` | |
| - **macOS Apple Silicon:** `aarch64.dmg` | |
| - **Linux:** `.deb` o `.AppImage` | |
| releaseDraft: true | |
| prerelease: false | |
| args: ${{ matrix.args }} | |
| # Job adicional para crear AppImage | |
| build-appimage: | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libayatana-appindicator3-dev librsvg2-dev | |
| - name: Install frontend dependencies | |
| run: npm ci | |
| - name: Build Tauri app | |
| uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tagName: ${{ github.ref_name }} | |
| releaseName: 'Forky ${{ github.ref_name }}' | |
| releaseDraft: true | |
| prerelease: false |