From 29ab031949ca5ba28543e4d616bef1d6849cdebe Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 5 Feb 2024 22:55:20 +0100 Subject: [PATCH] tbh idfc anymore --- .github/workflows/msbuild.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index c8d17c4..080a1f2 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -59,15 +59,16 @@ jobs: for file in *; do file_name=$(basename "$file") hash_value=$(sha256sum "$file" | cut -d' ' -f1) - echo "${file_name}: ${hash_value}" >> "$hash_file" + echo "${file_name}:\n```${hash_value}```\n" >> "$hash_file" done echo "::set-output name=hash_file::$hash_file" + cat hashes.txt - name: Read Hashes from File id: read_hashes run: | cd "${GITHUB_WORKSPACE}/x64/Release" - hashes=$(cat "${GITHUB_WORKSPACE}/hashes.txt" 2>/dev/null || true) + hashes=$(cat "hashes.txt") echo "::set-output name=hashes::${hashes}" - name: Create Release @@ -78,9 +79,7 @@ jobs: name: "Release ${{ env.TAG }}" body: | **File Hashes:** - ``` ${{ steps.read_hashes.outputs.hashes }} - ``` files: | x64/Release/* /RegistryHelper/RegistryHelper.h