Update build.yml

This commit is contained in:
2026-02-17 22:14:05 +07:00
committed by GitHub
parent ba15bace30
commit a8aae6745c
+16
View File
@@ -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