From bf44d283c6d24bf145f550508953d9cfc5660ce0 Mon Sep 17 00:00:00 2001 From: eeee0717 Date: Sat, 14 Jun 2025 16:17:08 +0800 Subject: [PATCH] fix: release.yml --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f6e02236..41aa0290f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,14 @@ jobs: with: node-version: 20 + - name: macos-latest dependencies fix + if: matrix.os == 'macos-latest' + run: | + brew install python-setuptools + + - name: Install corepack + run: corepack enable && corepack prepare yarn@4.6.0 --activate + - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT @@ -71,6 +79,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} RENDERER_VITE_AIHUBMIX_SECRET: ${{ vars.RENDERER_VITE_AIHUBMIX_SECRET }} NODE_OPTIONS: --max-old-space-size=8192 + VITE_MINERU_API_KEY: ${{ vars.VITE_MINERU_API_KEY }} - name: Build Mac if: matrix.os == 'macos-latest'