Update publish_arm.yml

This commit is contained in:
AkiChase 2024-05-21 15:32:21 +08:00
parent 1a6840b96e
commit 8947c9a443

View File

@ -2,8 +2,8 @@ name: Raspberry Pi compile
on: on:
push: push:
# 匹配特定标签 (refs/tags) # 匹配特定标签 (refs/tags)
tags: # tags:
- "v*" # 推送事件匹配 v*, 例如 v1.0v20.15.10 等来触发工作流 # - "v*" # 推送事件匹配 v*, 例如 v1.0v20.15.10 等来触发工作流
jobs: jobs:
build: build:
@ -29,7 +29,7 @@ jobs:
apt-get install curl apt-get install curl
# Install node # Install node
curl -fsSL https://fnm.vercel.app/install | bash curl -fsSL https://fnm.vercel.app/install | bash
source /root/.bashrc . /root/.bashrc
fnm use --install-if-missing 22 fnm use --install-if-missing 22
# Install pnpm # Install pnpm
npm install -g pnpm npm install -g pnpm