From 1e732830ec23be2a9acff42c240609d53bed275a Mon Sep 17 00:00:00 2001 From: hedger Date: Tue, 2 Aug 2022 16:29:16 +0300 Subject: [PATCH] ci: check for uncommited changes after build (#1461) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: check for uncommited changes after build * assets: updated Manifest to match sources * ci: simplified uncommited files check * resources: Updated Manifest * fbt: always rebuild manifest Co-authored-by: あく --- .github/workflows/build.yml | 4 ++++ assets/SConscript | 3 +-- assets/resources/Manifest | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3ebb9ad6..d792c127c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,6 +106,10 @@ jobs: rm -rf artifacts/${BUNDLE_NAME} done + - name: "Check for uncommited changes" + run: | + git diff --exit-code + - name: 'Bundle resources' if: ${{ !github.event.pull_request.head.repo.fork }} run: | diff --git a/assets/SConscript b/assets/SConscript index 46cc2ca2a..ecb109567 100644 --- a/assets/SConscript +++ b/assets/SConscript @@ -103,8 +103,7 @@ if assetsenv["IS_BASE_FIRMWARE"]: ) assetsenv.Precious(resources) assetsenv.NoClean(resources) - if assetsenv["FORCE"]: - assetsenv.AlwaysBuild(resources) + assetsenv.AlwaysBuild(resources) # Exporting resources node to external environment env["FW_RESOURCES"] = resources diff --git a/assets/resources/Manifest b/assets/resources/Manifest index a0aeb67b9..b353e3426 100644 --- a/assets/resources/Manifest +++ b/assets/resources/Manifest @@ -1,5 +1,5 @@ V:0 -T:1655152832 +T:1658906571 D:badusb D:dolphin D:infrared @@ -232,10 +232,10 @@ F:41b4f08774249014cb8d3dffa5f5c07d:1757:nfc/assets/currency_code.nfc F:c60e862919731b0bd538a1001bbc1098:17453:nfc/assets/mf_classic_dict.nfc D:subghz/assets F:dda1ef895b8a25fde57c874feaaef997:650:subghz/assets/came_atomo -F:610a0ffa2479a874f2060eb2348104c5:2712:subghz/assets/keeloq_mfcodes +F:788eef2cc74e29f3388463d6607dab0d:3264:subghz/assets/keeloq_mfcodes F:9214f9c10463b746a27e82ce0b96e040:465:subghz/assets/keeloq_mfcodes_user F:653bd8d349055a41e1152e557d4a52d3:202:subghz/assets/nice_flor_s -F:c6ec4374275cd20f482ecd46de9f53e3:528:subghz/assets/setting_user +F:c1c63fbd5f5aa3ea504027014652191f:1150:subghz/assets/setting_user D:u2f/assets F:7e11e688e39034bbb9d88410044795e1:365:u2f/assets/cert.der F:f60b88c20ed479ed9684e249f7134618:264:u2f/assets/cert_key.u2f