diff --git a/.forgejo/workflows/ci-cd-web-desktop.yml b/.forgejo/workflows/ci-cd-web-desktop.yml index 2754e1c..f228cd7 100644 --- a/.forgejo/workflows/ci-cd-web-desktop.yml +++ b/.forgejo/workflows/ci-cd-web-desktop.yml @@ -492,42 +492,45 @@ jobs: } done - desktop_release: - name: Desktop Release (Windows) - timeout-minutes: 30 - if: ${{ startsWith(github.ref, 'refs/tags/v') }} - runs-on: [ self-hosted, windows, desktop ] - defaults: - run: - working-directory: apps/desktop - steps: - - name: Checkout - uses: https://github.com/actions/checkout@v4 - - - name: Setup pnpm - uses: https://github.com/pnpm/action-setup@v4 - with: - version: 10.20.0 - - - name: Setup Node.js - uses: https://github.com/actions/setup-node@v4 - with: - node-version: 20 - - - name: Install deps (desktop) - run: pnpm install --frozen-lockfile - - - name: Build with Tauri - uses: https://github.com/tauri-apps/tauri-action@v0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} - TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} - with: - projectPath: apps/desktop - - - name: Upload bundles to VPS - run: | - # Upload via SCP (configurar chave SSH no runner Windows) - # scp -r src-tauri/target/release/bundle/* user@vps:/var/www/updates/ - echo "TODO: Configurar upload para VPS" + # NOTA: Job comentado porque nao ha runner Windows configurado. + # Descomentar quando configurar um runner com labels: [self-hosted, windows, desktop] + # + # desktop_release: + # name: Desktop Release (Windows) + # timeout-minutes: 30 + # if: ${{ startsWith(github.ref, 'refs/tags/v') }} + # runs-on: [ self-hosted, windows, desktop ] + # defaults: + # run: + # working-directory: apps/desktop + # steps: + # - name: Checkout + # uses: https://github.com/actions/checkout@v4 + # + # - name: Setup pnpm + # uses: https://github.com/pnpm/action-setup@v4 + # with: + # version: 10.20.0 + # + # - name: Setup Node.js + # uses: https://github.com/actions/setup-node@v4 + # with: + # node-version: 20 + # + # - name: Install deps (desktop) + # run: pnpm install --frozen-lockfile + # + # - name: Build with Tauri + # uses: https://github.com/tauri-apps/tauri-action@v0 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} + # TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} + # with: + # projectPath: apps/desktop + # + # - name: Upload bundles to VPS + # run: | + # # Upload via SCP (configurar chave SSH no runner Windows) + # # scp -r src-tauri/target/release/bundle/* user@vps:/var/www/updates/ + # echo "TODO: Configurar upload para VPS"