From 7cea4b21a82d339f91a345efaf4506b52e59b733 Mon Sep 17 00:00:00 2001 From: didirus4 Date: Sat, 26 Jul 2025 00:16:09 +0300 Subject: [PATCH] ci: fix build --- .github/workflows/astralrinth-build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/astralrinth-build.yml b/.github/workflows/astralrinth-build.yml index d3d978b2..c037743e 100644 --- a/.github/workflows/astralrinth-build.yml +++ b/.github/workflows/astralrinth-build.yml @@ -96,6 +96,11 @@ jobs: librsvg2-dev \ xdg-utils \ openjdk-11-jdk + + - name: ⚙️ Set application environment + shell: bash + run: | + cp packages/app-lib/.env.prod packages/app-lib/.env - name: 💨 Setup Turbo cache uses: rharkor/caching-for-turbo@v1.8 @@ -114,14 +119,6 @@ jobs: run: | rm -rf target/release/bundle rm -rf target/*/release/bundle || true - - - name: 🌍 Load environment variables for build.rs - shell: bash - run: | - echo "Loading .env.prod..." - set -a - source packages/app-lib/.env.prod - set +a # - name: 🔨 Build macOS app # if: matrix.platform == 'macos-latest'