Skip to content

Commit 7111628

Browse files
authored
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
1 parent b7bea22 commit 7111628

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/content-aware-hash.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Generate a content aware hash for the Flutter Engine
77
on: workflow_dispatch
88

99
jobs:
10-
hash:
10+
generate-engine-content-hash:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
@@ -19,4 +19,8 @@ jobs:
1919
2020
- name: Generate Hash
2121
run: |
22-
git ls-tree HEAD DEPS bin/internal/release-candidate-branch.version engine | git hash-object --stdin
22+
engine_content_hash=$(git ls-tree HEAD DEPS bin/internal/release-candidate-branch.version engine | git hash-object --stdin)
23+
# test notice annotation for retrival from api
24+
echo "::notice ::{\"engine_content_hash\": \"${engine_content_hash}\"}"
25+
# test summary writing
26+
echo "{\"engine_content_hash\": \"${engine_content_hash}\"" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)