From 55bb46b31651afb2ace88c475cf86e54ce72c104 Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Sat, 20 Jan 2024 21:18:37 +0530 Subject: [PATCH] chore(workflow): ensure repository status is CLEAN by generating checksums in 'build' dir --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7baf78bab..a3caa092c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -267,9 +267,13 @@ jobs: ${{ runner.os }}-gradle- - name: Generate checksums run: | - md5sum *.apk > CHECKSUMS-md5.txt - sha256sum *.apk > CHECKSUMS-sha256.txt - sha512sum *.apk > CHECKSUMS-sha512.txt + mkdir -p build + + md5sum *.apk > build/CHECKSUMS-md5.txt + sha256sum *.apk > build/CHECKSUMS-sha256.txt + sha512sum *.apk > build/CHECKSUMS-sha512.txt + + find build -type f -name "CHECKSUMS*.txt" -exec echo {} \; -exec cat {} \; -exec echo "" \; - name: Publish release run: ./gradlew nyxMake nyxMark nyxPublish publish release --stacktrace - name: Archive Nyx state file