diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 12e657c..06810fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,8 @@ name: Release Typora Theme on: push: - branches: - - main # 选择触发的分支 + tags: + - '*' # 监听所有标签的推送 jobs: build: @@ -11,9 +11,9 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v2 - - name: Get current tag version + - name: Get current tag version id: tag run: | TAG=$(git describe --tags --abbrev=0) diff --git a/README.md b/README.md index 3dd3d1e..6c0e681 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ ### 2024-01-29 修复代码块显示异常 ### 2024-01-18 -增加了任务列表的样式,对打印出来的页面进行了大小和行间距的设置。 +增加了任务列表的样式,对打印出来的页面进行了大小和行间距的设置。