Skip to content

fix: 修复真机卡片点击无反应 #34

fix: 修复真机卡片点击无反应

fix: 修复真机卡片点击无反应 #34

Workflow file for this run

# 构建并上传到小程序后台
name: Upload to weixin
# Controls when the workflow will run
on:
# Triggers the workflow on push but only for the main branch
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Create file "private.key"
env:
WX_PRIVATE_KEY: ${{ secrets.WX_PRIVATE_KEY }}
run: |
echo "$WX_PRIVATE_KEY" > private.key
- name: Install dependencies
run: |
corepack enable pnpm
pnpm install
- name: Upload to weixin
run: |
node scripts/release.cjs