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
This commit is contained in:
parent
b7bea22ab8
commit
711162887d
8
.github/workflows/content-aware-hash.yml
vendored
8
.github/workflows/content-aware-hash.yml
vendored
@ -7,7 +7,7 @@ name: Generate a content aware hash for the Flutter Engine
|
|||||||
on: workflow_dispatch
|
on: workflow_dispatch
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
hash:
|
generate-engine-content-hash:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@ -19,4 +19,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate Hash
|
- name: Generate Hash
|
||||||
run: |
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user