Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/mine/finalized dart action v3 #3874

51 changes: 51 additions & 0 deletions .github/composite_actions/log_cw_metric/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Log CW Metric
description: Test to log a CW metric
inputs:
# For getting failing step
job-status:
description: Used to determine if we track success or failure.
required: true
github-token:
required: true
description: Github token for requesting failing steps.
working-directory:
description: The working directory relative to the repo root.
required: true
matrix:
description: The matrix of the workflow

# Global Metric Dimensions
metric-name:
description: Name of the metric to track in Cloudwatch.
required: true
test-type:
description: canary, integration, unit testType.
required: true

# FlutterDart Workflows Metric Dimensions
framework:
description: flutter, dart.
required: false
flutter-dart-channel:
description: beta, stable.
required: false
dart-version:
description: 3, 2.19, 2.18, etc.
required: false
flutter-version:
description: 3.10.6, 3.10.5, etc.
required: false
dart-compiler:
description: dart2js, ddc, dart, dart2wasm.
required: false

# Platform Workflows Metric Dimensions
platform:
description: android, ios, web, linux, windows.
required: false
platform-version:
description: ios-14.5, ios-16, android-25-x86, etc.
required: false
runs:
using: "node16"
main: "dist/index.mjs"
Loading