From 24bbc2e441a25f922804ce619226e7e1d0f01919 Mon Sep 17 00:00:00 2001 From: Egorov Nikita Andreevich Date: Sun, 17 May 2026 01:42:35 +0700 Subject: [PATCH] Add artifact upload steps for compiled SRS files Added steps to upload compiled artifacts for domains.srs and subnets.srs. --- .github/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0c2327..141eade 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,8 +14,6 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v6 - with: - fetch-depth: '0' - name: Update subnets uses: actions/setup-java@v5 with: @@ -33,8 +31,18 @@ jobs: run: curl -fsSL https://sing-box.app/install.sh | sh - name: Compile domains.srs run: sing-box rule-set compile --output domains.srs domains.json + - name: Upload domains artifact + uses: actions/upload-artifact@v7 + with: + name: domains_srs + path: domains.srs - name: Compile subnets.srs run: sing-box rule-set compile --output subnets.srs subnets.json + - name: Upload subnets artifact + uses: actions/upload-artifact@v7 + with: + name: subnets_srs + path: subnets.srs - name: Set up variables id: vars run: |