aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-04-28 12:50:40 -0400
committerAdam Harrison <adamdharrison@gmail.com>2024-04-28 12:50:40 -0400
commit84be245d3cba4e90cd1da4096c98a03ba9688135 (patch)
treee5b63abaeebf7476692d28d5d61aef4e7d551f15 /.github
parent7dcd041978aa96f7fbcfc709f40b18a085809715 (diff)
downloadlite-xl-colors-84be245d3cba4e90cd1da4096c98a03ba9688135.tar.gz
lite-xl-colors-84be245d3cba4e90cd1da4096c98a03ba9688135.zip
Fixed workflow.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/workflow.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index ed15693..87df3a4 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -19,9 +19,9 @@ jobs:
perl -pi -e 'exit(0) if $_ =~ m/^\-\-\-/' README.md
echo "---" >> README.md
echo -e "\n## Dark\n" >> README.md
- ./lpm-latest list --repository . --type color --tag "dark" --table 'url,{string.format("![%s_preview](previews/%s.svg)", addon.id,addon.id)}' --type color --header Theme,Preview >> README.md
+ ./lpm-latest list --repository . --type color --tag "dark" --table '{{string.format("[%s](%s)", addon.id, addon.url)}},{{string.format("![%s_preview](previews/%s.svg)", addon.id,addon.id)}}' --type color --header Theme,Preview >> README.md
echo -e "\n## Light\n" >> README.md
- ./lpm-latest list --repository . --type color --tag "light" --table 'url,{string.format("![%s_preview](previews/%s.svg)", addon.id,addon.id)}' --type color --header Theme,Preview >> README.md
+ ./lpm-latest list --repository . --type color --tag "light" --table '{{string.format("[%s](%s)", addon.id, addon.url)}},{{string.format("![%s_preview](previews/%s.svg)", addon.id,addon.id)}}' --type color --header Theme,Preview >> README.md
if ! git diff --exit-code -s README.md; then
git config --global user.name "Github Actions" && git config --global user.email "<>"
git add README.md previews