Fix manifest editing

This commit is contained in:
WardPearce
2025-02-21 13:43:02 +13:00
parent a33968d01a
commit e144c87116
6 changed files with 11 additions and 8 deletions
+1 -2
View File
@@ -39,10 +39,9 @@ jobs:
CHECKSUM=$(curl -L ${{ steps.get_release.outputs.aarch64_url }} | sha256sum | awk '{ print $1 }')
echo "aarch64_sha256=$CHECKSUM" >> "$GITHUB_OUTPUT"
- name: Update manifest file with new version and checksums
- name: Update manifest file with new urls and checksums
run: |
MANIFEST_FILE="us.materialio.Materialious.yml"
yq eval -i ".version = \"${{ steps.get_release.outputs.version }}\"" $MANIFEST_FILE
yq eval -i ".modules[0].sources[0].url = \"${{ steps.get_release.outputs.x86_url }}\"" $MANIFEST_FILE
yq eval -i ".modules[0].sources[0].sha256 = \"${{ steps.sha256_x86.outputs.x86_64_sha256 }}\"" $MANIFEST_FILE
yq eval -i ".modules[0].sources[1].url = \"${{ steps.get_release.outputs.aarch64_url }}\"" $MANIFEST_FILE