Skip to content

修复了字体没有正确引用的bug;代码字体更换为等宽字体;为kbd增加了样式;更新README文件 #13

修复了字体没有正确引用的bug;代码字体更换为等宽字体;为kbd增加了样式;更新README文件

修复了字体没有正确引用的bug;代码字体更换为等宽字体;为kbd增加了样式;更新README文件 #13

Workflow file for this run

name: Release Typora Theme
on:
push:
tags:
- '*' # 监听所有标签的推送
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get current tag version
id: tag
run: |
TAG=$(git describe --tags --abbrev=0)
echo "Current tag: ${TAG}"
echo "::set-output name=current_tag::${TAG}"
- name: Create zip file with tag name
run: |
zip -r typora-theme-phycat.zip . -x ".*" "*/.*"
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: typora-theme-phycat.zip
tag_name: ${{ steps.tag.outputs.current_tag }}
name: ${{ steps.tag.outputs.current_tag }}
body: |
版本更新:${{ steps.tag.outputs.current_tag }}
更新内容: ${{ github.event.head_commit.message }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}