flutter_flutter/.github/workflows/content-aware-hash.yml
John "codefu" McDole 62adb1a4b9
chore: update content workflow to use itnernal script (#175291)
Now that our internal scripts check for private github branches, this
makes the itnernal scripts the source of truth.

towards #175265
2025-09-17 17:30:21 +00:00

24 lines
826 B
YAML

# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
name: Generate a content aware hash for the Flutter Engine
on: workflow_dispatch
jobs:
generate-engine-content-hash:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Generate Hash
run: |
# Script updated to handle gh-readonly-queue/ branches
engine_content_hash=$(bin/internal/content_aware_hash.sh)
# 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