aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/workflow.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index df606e5..e3c1ccc 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -21,10 +21,11 @@ jobs:
./lpm-latest list --table url,description --header Language,Description --type plugin --tag 'language' --userdir . >> README.md
echo -e "\n## Libraries\n" >> README.md
./lpm-latest list --table url,description --header Library,Description --type library --userdir . >> README.md
+ ./lpm-latest exec 'common.write("manifest.json", json.encode(json.decode(common.read("manifest.json")), { pretty = true }) .. "\n")' --userdir .
./lpm-latest purge --userdir .
- if ! git diff --exit-code -s README.md; then
+ if ! git diff --exit-code -s README.md manifest.json; then
git config --global user.name "Github Actions" && git config --global user.email "<>"
- git add README.md
- git commit -m '[CI] Updated README.md.'
+ git add README.md manifest.json
+ git commit -m '[CI] Updated README.md and manifest.json.'
git push
fi