From f0b1047ee1ff56b3f9dd490a44648ee4e0955785 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Wed, 26 Jul 2023 13:56:11 +0200 Subject: [PATCH] Add a workflow to build lists --- .github/workflows/build-lists.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build-lists.yml diff --git a/.github/workflows/build-lists.yml b/.github/workflows/build-lists.yml new file mode 100644 index 0000000..08d4e93 --- /dev/null +++ b/.github/workflows/build-lists.yml @@ -0,0 +1,25 @@ +name: Build IP lists + +permissions: + contents: read + +on: + repository_dispatch: + types: run-build-lists + workflow_dispatch: + #schedule: + # - cron: "00 12 * * *" + +jobs: + build-stretchoid: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Build the stretchoid list + run: ./make-stretchoid.sh + - name: Post the summary + run: | + git add -A + echo '### Diff' >> $GITHUB_STEP_SUMMARY + echo -e "\`\`\`diff\n$(git diff --staged)\n\`\`\`" >> $GITHUB_STEP_SUMMARY