From c417b8371610a1640fd7f8ea8fc5174e1ea8d1aa Mon Sep 17 00:00:00 2001 From: wc7086 <74053663+wc7086@users.noreply.github.com> Date: Sat, 28 May 2022 19:43:06 +0800 Subject: [PATCH] Update build-padavan.yml --- .github/workflows/build-padavan.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-padavan.yml b/.github/workflows/build-padavan.yml index a1d61e7..e5ea5f3 100644 --- a/.github/workflows/build-padavan.yml +++ b/.github/workflows/build-padavan.yml @@ -121,6 +121,9 @@ jobs: sed -i 's/CONFIG_FIRMWARE_INCLUDE_XRAY=n/CONFIG_FIRMWARE_INCLUDE_XRAY=y/' configs/templates/K2P.config fakeroot ./build_firmware_modify $DEVICE_NAME mv images/*.trx /opt/bin/${DEVICE_NAME}_xray.trx + + # sha256sum + find /opt/bin -type f -print0 | xargs -0 md256sum > /opt/bin/sha256sums - name: Check space usage if: (!cancelled()) @@ -137,7 +140,7 @@ jobs: id: organize if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() run: | - cd rt-n56u/trunk/images + cd /opt/bin echo "FIRMWARE=$PWD" >> $GITHUB_ENV echo "::set-output name=status::success"