Skip to content

Commit

Permalink
ci: check for uncommited changes after build (#1461)
Browse files Browse the repository at this point in the history
* 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: あく <alleteam@gmail.com>
  • Loading branch information
hedger and skotopes authored Aug 2, 2022
1 parent 01afb28 commit 1e73283
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 1 addition & 2 deletions assets/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions assets/resources/Manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
V:0
T:1655152832
T:1658906571
D:badusb
D:dolphin
D:infrared
Expand Down Expand Up @@ -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

0 comments on commit 1e73283

Please sign in to comment.