From fde6e414a8ed5f941486126a81c43cdf79bec6ce Mon Sep 17 00:00:00 2001 From: Egorov Nikita Andreevich Date: Thu, 27 Nov 2025 11:16:33 +0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f32e9c3..4836e83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,3 +20,23 @@ jobs: run: sing-box rule-set compile --output domain.srs domain.json - name: Compile ip_cidr.srs run: sing-box rule-set compile --output ip_cidr.srs ip_cidr.json + - name: Set up variables + id: vars + run: | + echo "date_now=$(date +"%Y-%m-%d %T")" >> "${GITHUB_OUTPUT}" + - name: Upload builds to Releases + uses: ncipollo/release-action@v1 + with: + allowUpdates: true + artifactErrorsFailBuild: true + artifacts: app/build/outputs/apk/debug/*.srs + body: | + **This is an automatically generated in-development pre-release version of the application, that includes the latest master branch changes.** + **⚠️ This build is not stable and may end up terminating with a fatal error. ⚠️** + **Use at your own risk.** + + - Last build date: `${{steps.vars.outputs.date_now}}` + - Reference commit: ${{github.sha}} + name: Development build + removeArtifacts: true + tag: dev-build