You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
misc: update marked in workflow
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -24,6 +24,19 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
fetch-tags: true
|
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
|
- name: Extract Module Info
|
||||||
id: extract_info
|
id: extract_info
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user