From 8f26cc0d4a317f26696aa03c21509f20c9e05e5b Mon Sep 17 00:00:00 2001 From: SG <93599358+HardenSG@users.noreply.github.com> Date: Thu, 9 May 2024 01:00:35 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16cfa7a..41e2439 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,6 @@ on: jobs: build: - if: github.event_name == 'push' && contains(github.event.head_commit.message, 'Merge pull request') # 选择运行在ubuntu runs-on: ubuntu-latest @@ -48,7 +47,7 @@ jobs: # 构建小程序 - name: Build weapp - run: pnpm build:weapp + run: npm run build:weapp # 从 secrets.UPLOAD_PRIVATE_KEY 生成私钥文件 # see Project/Settings/Secrets