From 66628c4bd206b957e7881d8eb204cd2060d0b208 Mon Sep 17 00:00:00 2001 From: neoapps-dev Date: Sun, 17 May 2026 14:16:22 +0300 Subject: [PATCH] ci: get rid of nightly --- .github/workflows/nightly.yml | 131 ---------------------------------- 1 file changed, 131 deletions(-) delete mode 100644 .github/workflows/nightly.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml deleted file mode 100644 index 701cc33..0000000 --- a/.github/workflows/nightly.yml +++ /dev/null @@ -1,131 +0,0 @@ -name: 'nightly' -on: - schedule: - - cron: '0 17 * * *' #neo: 5PM UTC - workflow_dispatch: - -jobs: - nightly-tauri: - permissions: - contents: write - strategy: - fail-fast: false - matrix: - include: - - platform: 'macos-latest' - args: '--target aarch64-apple-darwin' - artifact-name: macos-aarch64 - - platform: 'macos-latest' - args: '--target x86_64-apple-darwin' - artifact-name: macos-x86_64 - - platform: 'ubuntu-22.04' - args: '' - artifact-name: linux - - platform: 'windows-latest' - args: '' - artifact-name: windows - - runs-on: ${{ matrix.platform }} - steps: - - uses: actions/checkout@v4 - - - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-22.04' - run: | - sudo apt-get update - sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libudev-dev - - - name: setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 10 - - name: setup node - uses: actions/setup-node@v4 - with: - node-version: lts/* - cache: 'pnpm' - - - name: install Rust stable - uses: dtolnay/rust-toolchain@stable - with: - targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - - - name: Rust cache - uses: swatinem/rust-cache@v2 - with: - workspaces: './src-tauri -> target' - - - name: install frontend dependencies - run: pnpm install - - - name: build Tauri app - run: pnpm run tauri:build -- ${{ matrix.args }} - - - name: upload build artifacts - uses: actions/upload-artifact@v4 - with: - name: ${{ matrix.artifact-name }} - path: | - src-tauri/target/*/release/bundle/**/* - - nightly-release: - needs: [nightly-tauri, nightly-flatpak] - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/download-artifact@v4 - with: - pattern: '*' - merge-multiple: true - path: artifacts - - - uses: softprops/action-gh-release@v2 - with: - tag_name: nightly - name: 'Emerald Nightly' - body: | - # Emerald Legacy Launcher (Nightly) - # What to download? - - `Emerald.Legacy.Launcher-*.rpm` for GNU/Linux (RHEL) - - `Emerald.Legacy.Launcher-*.deb` for GNU/Linux (Debian+Ubuntu) - - `Emerald.Legacy.Launcher-*.AppImage` for GNU/Linux (Universal) - - `Emerald.Legacy.Launcher-*_x64.dmg` for macOS (Intel) - - `Emerald.Legacy.Launcher-*_aarch64.dmg` for macOS (M-series) - - `Emerald.Legacy.Launcher-*.exe` for Windows (Setup) - - `Emerald.Legacy.Launcher-*.msi` for Windows (Setup) - --- - # Windows SmartScreen - This software is completely safe. Because the launcher is unsigned, you will see a "Windows protected your PC" window. To proceed: - - 1. Click the **"More info"** link under the main text. - 2. Click the **"Run anyway"** button that appears. - --- - # macOS "Damaged" Error Fix - The macOS builds now include automatic fixes for Gatekeeper quarantine issues. The app should launch without "application is damaged" errors. - files: artifacts/* - fail_on_unmatched_files: false - prerelease: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - nightly-flatpak: - runs-on: ubuntu-latest - permissions: - contents: write - container: - image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08 - options: --privileged - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - uses: flatpak/flatpak-github-actions/flatpak-builder@v6 - with: - bundle: io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.flatpak - manifest-path: flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.yml - cache-key: flatpak-builder-${{ github.sha }} - - uses: actions/upload-artifact@v4 - with: - name: flatpak - path: io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.flatpak