aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-01-02 16:37:36 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-01-02 16:37:36 -0500
commitc97f91c2c64b1ed3f49ab30f2aa88fe7e4525faf (patch)
tree5f287d640df5c31033fab169425e28f13fa88c2f /.github/workflows
parente04deca46f387f2a4d26078aa0627798c9baa363 (diff)
downloadlite-xl-plugins-c97f91c2c64b1ed3f49ab30f2aa88fe7e4525faf.tar.gz
lite-xl-plugins-c97f91c2c64b1ed3f49ab30f2aa88fe7e4525faf.zip
Added in workflow to generate table.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/workflow.yml13
1 files changed, 5 insertions, 8 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index b97ca8b..ae9680e 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -9,14 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-node@v2
- with:
- node-version: 16
- - name: Run the script
+ - name: Generate table with `lpm`
run: |
- cd scripts
- npm install
- npm run main -- "https://github.com/${{ github.repository }}/blob/${GITHUB_REF##*/}/" ../README.md ../README.md
+ wget https://github.com/adamharrison/lite-xl-plugin-manager/releases/download/v0.93/lpm.x86_64-linux -O lpm
+ chmod +x lpm
+ ./lpm table manifest.json README.md
- name: Set environment variables
run: |
set +e # need to disable this
@@ -32,7 +29,7 @@ jobs:
delete-branch: false
title: '[CI] Reorganize README.md'
body: |
- This is a CI that makes sure entries are in alphabetical order and no links are invalid.
+ This is a CI that makes sure entries match the specified manifest.
Please check the [CI run][1] for logs.
[1]: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}