diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ef09c94..1b0e6a30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,9 +51,13 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 20 cache: pnpm + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + - name: Verify macOS runner architecture shell: bash run: | @@ -88,9 +92,13 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 20 cache: pnpm + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + - name: Verify macOS runner architecture shell: bash run: | @@ -125,9 +133,13 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 20 cache: pnpm + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + - run: pnpm install --frozen-lockfile - run: pnpm run build:win diff --git a/scripts/build-web-crawler-sidecar.mjs b/scripts/build-web-crawler-sidecar.mjs index f15724d3..ec8c0eb4 100644 --- a/scripts/build-web-crawler-sidecar.mjs +++ b/scripts/build-web-crawler-sidecar.mjs @@ -73,9 +73,9 @@ const resolveBootstrapPython = () => { const candidates = process.platform === 'win32' ? [ - { command: 'py', args: ['-3'] }, { command: 'python', args: [] }, - { command: 'python3', args: [] } + { command: 'python3', args: [] }, + { command: 'py', args: ['-3'] } ] : [ { command: 'python3.12', args: [] },