This commit is contained in:
lutinglt
2024-12-19 14:04:37 +08:00
parent 06c0badbb8
commit 98d38e89f0
3 changed files with 33 additions and 0 deletions

3
.github/release.md vendored Normal file
View File

@@ -0,0 +1,3 @@
提交查看页面增加了提交之间的间隔
隐藏仓库文件列表头部最后一次提交的 SHA
其他一些细节优化

29
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: DockerHub Publish
on:
workflow_dispatch:
inputs:
gitea_version:
required: true
type: string
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Build theme
run: |
npm install
npm run build:theme
- uses: actions/upload-artifact@v4
with:
name: theme-github
path: dist/theme-github.css
- name: Create release
run: |
TAG="v${{ inputs.gitea_version }}-$(date +%Y%m%d-%H%M)"
gh release create "$TAG" dist/theme-github.css --notes-file .github/release.md -t $TAG

View File

@@ -1,3 +1,4 @@
// Made by Luting ^-^
.vch__day__square, .vch__day__square,
.vch__legend__wrapper rect { .vch__legend__wrapper rect {
rx: 2px; rx: 2px;