From d8451060e61473c347ac6076b64b5974cd15a0a3 Mon Sep 17 00:00:00 2001 From: "kirill.chalov" Date: Mon, 6 Jan 2025 18:28:11 +0800 Subject: [PATCH] feat: remove public from checksum paths --- .github/workflows/pr-build-preview.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-build-preview.yml b/.github/workflows/pr-build-preview.yml index bb51b90f..8b6368dc 100644 --- a/.github/workflows/pr-build-preview.yml +++ b/.github/workflows/pr-build-preview.yml @@ -61,7 +61,8 @@ jobs: - name: Calculate checksums for website files run: | - find public/ -type f -exec sha256sum {} + | awk '{print $2, $1}' | sort > checksums-ci.txt + cd public + find . -type f -exec sha256sum {} + | awk '{print $2, $1}' | sort > ../checksums-ci.txt - name: Upload checksums to artifacts uses: actions/upload-artifact@v4