Automation troubleshooting

This commit is contained in:
icenine451 2023-04-13 12:15:39 -04:00
parent f29bae3219
commit 923f69c920
2 changed files with 3 additions and 1 deletions

View file

@ -44,7 +44,7 @@ jobs:
org.freedesktop.Sdk.Extension.dotnet6/x86_64/21.08
echo ${GITHUB_WORKSPACE} #DEBUG
df -h ${GITHUB_WORKSPACE} #DEBUG
bash ${GITHUB_WORKSPACE}/automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives
/bin/bash ${GITHUB_WORKSPACE}/automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives
- name: Build flatpak
run: |

View file

@ -15,8 +15,10 @@ echo
while IFS="^" read -r url placeholder
do
echo
echo "Placeholder text: $placeholder"
echo "URL to hash: $url"
echo
hash=$(curl -sL "$url" | sha256sum | cut -d ' ' -f1)
sed -i 's^'"$placeholder"'^'"$hash"'^' $rd_manifest
done < <(cat "$sha_update_list")