Skip to content

Commit

Permalink
ci: release
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Feb 14, 2025
1 parent fb78b2e commit 3924d6e
Show file tree
Hide file tree
Showing 5 changed files with 6,820 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/semantic_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Semantic Release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # 检出代码
- uses: actions/setup-node@v3 # 设置 Node.js 环境
with:
node-version: 18
- run: npm install # 安装依赖
- run: npx semantic-release # 运行发布脚本
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ backend/textfileprocess/doc
backend/textfileprocess/docx
backend/pandoc-3.1.11-windows-x86_64.msi
backend/pyproject2.toml
node_modules
Loading

0 comments on commit 3924d6e

Please sign in to comment.