From c97f91c2c64b1ed3f49ab30f2aa88fe7e4525faf Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Mon, 2 Jan 2023 16:37:36 -0500 Subject: Added in workflow to generate table. --- .github/workflows/workflow.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to '.github/workflows/workflow.yml') 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}} -- cgit v1.2.3