From 7a5c573f102ba05d39259bc7b70635dd7d0162d3 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 12 Mar 2026 20:38:00 +0800 Subject: [PATCH] fix(workflows): update sandbox-v2 env loading to exclude comments and empty lines - Modified the workflow to use grep for loading the sandbox-v2 environment variables, ensuring that comments and empty lines are excluded from the environment file. --- .github/workflows/unit-test-v1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test-v1.yml b/.github/workflows/unit-test-v1.yml index 2be68365..e45066d9 100644 --- a/.github/workflows/unit-test-v1.yml +++ b/.github/workflows/unit-test-v1.yml @@ -79,7 +79,7 @@ jobs: apple-private-key: ${{ secrets.APPLE_PRIVATE_KEY_USER }} - name: Load sandbox-v2 env - run: cat .github/env/sandbox-v2.env >> $GITHUB_ENV + run: grep -vE '^\s*#|^\s*$' .github/env/sandbox-v2.env >> $GITHUB_ENV - name: Setup SQLite run: |