From f8f202c4949287ddfbc6872ffb4df2a99025fde7 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Thu, 5 Feb 2026 22:19:37 +0530 Subject: [PATCH] Add Telegram API credentials to GitHub Actions workflow - Included `TELEGRAM_API_ID` and `TELEGRAM_API_HASH` as environment variables in the `package-and-publish.yml` workflow to facilitate Telegram integration. - Removed the `dotenvy` dependency from `Cargo.toml` and `Cargo.lock` to streamline the project and eliminate unnecessary packages. --- .github/workflows/package-and-publish.yml | 2 ++ src-tauri/Cargo.lock | 7 ------- src-tauri/Cargo.toml | 3 --- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/package-and-publish.yml b/.github/workflows/package-and-publish.yml index d85755857..72ce4ba38 100644 --- a/.github/workflows/package-and-publish.yml +++ b/.github/workflows/package-and-publish.yml @@ -305,6 +305,8 @@ jobs: uses: tauri-apps/tauri-action@v0 id: build-tauri env: + TELEGRAM_API_ID: ${{ secrets.VITE_TELEGRAM_API_ID }} + TELEGRAM_API_HASH: ${{ secrets.VITE_TELEGRAM_API_HASH }} APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE_BASE64 }} APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }} diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 70dfc9716..916ea0429 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -13,7 +13,6 @@ dependencies = [ "chrono", "cron", "dirs 5.0.1", - "dotenvy", "encoding_rs", "env_logger", "futures", @@ -1198,12 +1197,6 @@ dependencies = [ "const-random", ] -[[package]] -name = "dotenvy" -version = "0.15.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" - [[package]] name = "dpi" version = "0.1.2" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 247c6934c..3e5fd8025 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -45,9 +45,6 @@ parking_lot = "0.12" log = "0.4" env_logger = "0.11" -# .env file loading -dotenvy = "0.15" - # AI module dependencies base64 = "0.22" aes-gcm = "0.10"