From a8aae6745c02533889a7b3745a6264c6f356d960 Mon Sep 17 00:00:00 2001 From: Egorov Nikita Andreevich Date: Tue, 17 Feb 2026 22:14:05 +0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8065929..21a3c6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,9 @@ name: Build rule sets on: + workflow_dispatch: push: + schedule: + - cron: '0 0 * * *' permissions: contents: write @@ -15,6 +18,19 @@ jobs: timezoneLinux: "Europe/Moscow" - name: Checkout sources uses: actions/checkout@v6 + - name: Update subnets + uses: actions/setup-java@v5 + with: + java-version: '17' + distribution: 'oracle' + java-package: 'jdk' + architecture: 'x64' + - run: | + java -jar ip-ranges.jar + - name: Push subnets + uses: EndBug/add-and-commit@v9 + with: + message: 'Update subnets' - name: Install sing-box run: curl -fsSL https://sing-box.app/install.sh | sh - name: Compile domains.srs