FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.
C++ ai-agentsalgorithmic-tradingbloomberg-terminalcppfinancefinancial-marketsfintechgood-first-issueinvestmentinvestment-researchmachine-learningopensourcepythonqtquantitative-financestock-markettrading
Add auto-updater workflow
tilakpatel226e3da46592ba
diff --git a/.github/workflows/build-with-updater.yml b/.github/workflows/build-with-updater.ymlnew file mode 100644index 000000000..81f9b42ff--- /dev/null+++ b/.github/workflows/build-with-updater.yml@@ -0,0 +1,98 @@+name: Build FinceptTerminal with Auto-Updater++on:+ workflow_dispatch:+ push:+ tags:+ - 'v*'++jobs:+ build:+ strategy:+ fail-fast: false+ matrix:+ include:+ - platform: 'macos-latest'+ args: '--target aarch64-apple-darwin'+ os_name: 'macOS'+ arch: 'arm64'+ target: 'aarch64-apple-darwin'+ - platform: 'macos-latest'+ args: '--target x86_64-apple-darwin'+ os_name: 'macOS'+ arch: 'x64'+ target: 'x86_64-apple-darwin'+ - platform: 'ubuntu-22.04'+ args: '--target x86_64-unknown-linux-gnu'+ os_name: 'Linux'+ arch: 'x64'+ target: 'x86_64-unknown-linux-gnu'+ - platform: 'windows-latest'+ args: '--target x86_64-pc-windows-msvc'+ os_name: 'Windows'+ arch: 'x64'+ target: 'x86_64-pc-windows-msvc'++ runs-on: ${{ matrix.platform }}++ steps:+ - name: Checkout repository+ 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 \+ libwebkit2gtk-4.0-dev \+ libjavascriptcoregtk-4.1-dev \+ libjavascriptcoregtk-4.0-dev \+ libsoup-3.0-dev \+ libsoup2.4-dev \+ build-essential \+ curl \+ wget \+ file \+ libssl-dev \+ libgtk-3-dev \+ libayatana-appindicator3-dev \+ librsvg2-dev \+ patchelf \+ libnss3-dev \+ libxss1 \+ libasound2-dev++ - name: Rust setup+ uses: dtolnay/rust-toolchain@stable+ with:+ targets: ${{ matrix.target }}++ - name: Rust cache+ uses: swatinem/rust-cache@v2+ with:+ workspaces: './src-tauri -> target'++ - name: Sync node version and setup cache+ uses: actions/setup-node@v4+ with:+ node-version: 'lts/*'+ cache: 'npm'++ - name: Install frontend dependencies+ run: npm install++ - name: Build the app with updater+ 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:+ tagName: ${{ github.ref_name }}+ releaseName: 'FinceptTerminal ${{ github.ref_name }}'+ releaseBody: 'See the assets to download this version and install.'+ releaseDraft: false+ prerelease: false+ args: ${{ matrix.args }}+ includeUpdaterJson: true