misc: update marked in workflow

This commit is contained in:
KOWX712
2025-04-17 23:16:27 +08:00
parent 8b69d9529f
commit a1d824f5c9

View File

@@ -24,6 +24,19 @@ jobs:
fetch-depth: 0
fetch-tags: true
- name: udpate dependency
run: |
curl -Ls https://cdn.jsdelivr.net/npm/marked/marked.min.js > module/webui/scripts/marked.min.js
# Commit if found changes
if ! git diff --exit-code module/webui/scripts/marked.min.js; then
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add module/webui/scripts/marked.min.js
git commit -m "deps: update marked.min.js"
git push
fi
- name: Extract Module Info
id: extract_info
run: |