From 711162887d2f81c5d2f19a63db63991dd412b581 Mon Sep 17 00:00:00 2001 From: John McDole Date: Fri, 7 Mar 2025 13:35:39 -0800 Subject: [PATCH] content-aware-hash experiment update (#164803) - output to annotations which can be used from a simple url - output summary to see if that's at all valuable --- .github/workflows/content-aware-hash.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/content-aware-hash.yml b/.github/workflows/content-aware-hash.yml index 6fd3572480..3204c5090c 100644 --- a/.github/workflows/content-aware-hash.yml +++ b/.github/workflows/content-aware-hash.yml @@ -7,7 +7,7 @@ name: Generate a content aware hash for the Flutter Engine on: workflow_dispatch jobs: - hash: + generate-engine-content-hash: runs-on: ubuntu-latest steps: - name: Checkout code @@ -19,4 +19,8 @@ jobs: - name: Generate Hash run: | - git ls-tree HEAD DEPS bin/internal/release-candidate-branch.version engine | git hash-object --stdin + engine_content_hash=$(git ls-tree HEAD DEPS bin/internal/release-candidate-branch.version engine | git hash-object --stdin) + # test notice annotation for retrival from api + echo "::notice ::{\"engine_content_hash\": \"${engine_content_hash}\"}" + # test summary writing + echo "{\"engine_content_hash\": \"${engine_content_hash}\"" >> $GITHUB_STEP_SUMMARY