Only emit telemetry when the emit_telemetry input is truthy

This commit is contained in:
Jess Bees
2022-03-23 14:40:57 -04:00
parent e1279a88ef
commit 92f6725bee
2 changed files with 9 additions and 1 deletions

View File

@@ -4,6 +4,10 @@ runs:
using: 'node16'
main: 'dist/index.js'
inputs:
emit_telemetry:
description: 'Should this action emit build telemetry instead of deploy the build artifact'
default: false
required: false
token:
description: 'GitHub token'
default: ${{ github.token }}