Merge pull request #302 from icenine451/cooker-0.7.0b-icenine451

Automation troubleshooting
This commit is contained in:
icenine451 2023-04-13 12:16:41 -04:00 committed by GitHub
commit f03295eae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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")