Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
tbh idfc anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Arteiii committed Feb 5, 2024
1 parent ad8d251 commit 29ab031
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -78,9 +79,7 @@ jobs:
name: "Release ${{ env.TAG }}"
body: |
**File Hashes:**
```
${{ steps.read_hashes.outputs.hashes }}
```
files: |
x64/Release/*
/RegistryHelper/RegistryHelper.h
Expand Down

0 comments on commit 29ab031

Please sign in to comment.