Checkout ramdisk images (#2447)

* checkout ramdisk images

* fix whitespace

* add comment
This commit is contained in:
David Holdeman 2021-03-12 20:47:59 -06:00 committed by GitHub
parent 3266dc1e6d
commit 170957ed27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ jobs:
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub build-firmware Action"
# get the original ramdisk images back in order to not overwrite the default placeholder
git checkout -- firmware/hw_layer/mass_storage/ramdisk_image.h firmware/hw_layer/mass_storage/ramdisk_image_compressed.h
git status
OUT=$(git commit -am "Auto-generated configs and docs" 2>&1) || echo "commit failed, finding out why"
if echo "$OUT" | grep 'nothing to commit'; then