chore(release): update default release tag to v1.0.0 and install setuptools for Mac build

This commit is contained in:
kangfenmao 2025-04-21 19:49:50 +08:00
parent cb22b80ead
commit 234a5e085f

View File

@ -6,7 +6,7 @@ on:
tag: tag:
description: 'Release tag (e.g. v1.0.0)' description: 'Release tag (e.g. v1.0.0)'
required: true required: true
default: 'v0.9.18' default: 'v1.0.0'
push: push:
tags: tags:
- v*.*.* - v*.*.*
@ -42,6 +42,11 @@ jobs:
with: with:
node-version: 20 node-version: 20
- name: macos-latest dependencies fix
if: matrix.os == 'macos-latest'
run: |
brew install python-setuptools
- name: Install corepack - name: Install corepack
run: corepack enable && corepack prepare yarn@4.6.0 --activate run: corepack enable && corepack prepare yarn@4.6.0 --activate
@ -75,6 +80,7 @@ jobs:
- name: Build Mac - name: Build Mac
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
run: | run: |
sudo -H pip install setuptools
yarn build:npm mac yarn build:npm mac
yarn build:mac yarn build:mac
env: env: