aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-10-10 14:57:59 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-10-10 14:57:59 -0400
commit888fb02c1c9eff9d8327b79d26498d4dfdc973c4 (patch)
tree8a8c74d9948b4273834de51f2e89d84cd87922c6 /.github
parentadd3c17e4cf0580b5c02caa90a4fe983b5fabe08 (diff)
downloadlite-xl-plugins-888fb02c1c9eff9d8327b79d26498d4dfdc973c4.tar.gz
lite-xl-plugins-888fb02c1c9eff9d8327b79d26498d4dfdc973c4.zip
Fixed issue with lpm binary having the same name as lpm directory.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/workflow.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index e899b17..df606e5 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -11,17 +11,17 @@ jobs:
- uses: actions/checkout@v2
- name: Generate table with `lpm`
run: |
- wget https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/latest/lpm.x86_64-linux -O lpm && chmod +x lpm
+ wget https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/latest/lpm.x86_64-linux -O lpm-latest && chmod +x lpm-latest
# Remove everything after the --- so we can regenerate it.
perl -pi -e 'exit(0) if $_ =~ m/^\-\-\-/' README.md && echo -e "---" >> README.md
echo -e "\n## Plugins\n" >> README.md
- ./lpm init . --userdir .
- ./lpm list --table url,description --header Plugin,Description --type plugin --tag '!language' --status '!core' --userdir . >> README.md
+ ./lpm-latest init . --userdir .
+ ./lpm-latest list --table url,description --header Plugin,Description --type plugin --tag '!language' --status '!core' --userdir . >> README.md
echo -e "\n## Languages\n" >> README.md
- ./lpm list --table url,description --header Language,Description --type plugin --tag 'language' --userdir . >> README.md
+ ./lpm-latest list --table url,description --header Language,Description --type plugin --tag 'language' --userdir . >> README.md
echo -e "\n## Libraries\n" >> README.md
- ./lpm list --table url,description --header Library,Description --type library --userdir . >> README.md
- ./lpm purge --userdir .
+ ./lpm-latest list --table url,description --header Library,Description --type library --userdir . >> README.md
+ ./lpm-latest purge --userdir .
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