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: |