From 884eeb66f770e669147a3a24103d05bba3ad671b Mon Sep 17 00:00:00 2001 From: itdoginfo Date: Mon, 16 Dec 2024 16:52:10 +0300 Subject: [PATCH] Added srs logic --- .github/workflows/create-srs.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/create-srs.yml diff --git a/.github/workflows/create-srs.yml b/.github/workflows/create-srs.yml new file mode 100644 index 0000000..a922f88 --- /dev/null +++ b/.github/workflows/create-srs.yml @@ -0,0 +1,30 @@ +name: Convert to srs + +on: + push: + branches: [ "main" ] + paths: + - .github/workflows/create-srs.yml + - src/** + - convert.py + # schedule: + # - cron: '33 */8 * * *' + +jobs: + convert-and-release: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + - uses: actions/checkout@v4.1.7 + + - name: Convert file to srs + uses: itdoginfo/plain2srs-action@0.1 + with: + input_file: Russia/inside-raw.lst + output_name: russia-inside + + - name: Release + uses: softprops/action-gh-release@v2.0.8 + with: + files: ./russia-inside.srs