Skip to content

Commit bd19b21

Browse files
committed
add
1 parent 9e29e2a commit bd19b21

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/action.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: build
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
version:
6+
description: 'Version to build'
7+
required: true
8+
default: 'latest'
9+
jobs:
10+
build:
11+
run-on: windows-latest
12+
steps:
13+
- name: 读取仓库
14+
uses: actions/checkout@v4
15+
- name: 安装node
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '22'
19+
- name: 安装rust
20+
uses: actions-rs/toolchain@v1
21+
- name: 安装cargo
22+
uses: actions-rs/cargo@v1
23+
- name: 安装 pnpm
24+
run: npm install -g pnpm
25+
26+
- name: 安装依赖
27+
run: pnpm install

0 commit comments

Comments
 (0)