chore: 版本3.0.5发布 #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
tags: [ 'v*.*.*' ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
# Allow one concurrent deployment | |
concurrency: | |
group: "pages" | |
jobs: | |
build-mp: | |
env: | |
UPLOAD_KEY: ${{ secrets.UPLOAD_KEY }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 8.12.1 | |
- name: Build Mini Program | |
run: pnpm install && pnpm api && pnpm build:mp-weixin | |
- name: Upload artifact | |
run: node scripts/upload.mjs | |
# - name: Send Change Log | |
# uses: xh-polaris/send-changelog@v1 | |
# with: | |
# webhook_url: ${{ secrets.WEBHOOK_URL }} | |
# title: MeowChat小程序更新日志 |