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