From 49739a35cec1a7db76267076c662db5fe0fb9690 Mon Sep 17 00:00:00 2001 From: linguist <22963968+lowlighter@users.noreply.github.com> Date: Thu, 31 Dec 2020 14:46:39 +0100 Subject: [PATCH] Debug action.yml --- action.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/action.yml b/action.yml index 0fad4813..4ccc4478 100644 --- a/action.yml +++ b/action.yml @@ -367,13 +367,9 @@ runs: METRICS_REF=$(echo $METRICS_ACTION | sed -E 's/^.*metrics//g') echo "Running on $METRICS_SOURCE/metrics@$METRICS_REF" - git status || true - git branch || true - echo "===" - env - echo "===" - env | grep -E '^(INPUT|GITHUB|RUNNER|ACTIONS|HOME|CI)' - echo "===" + # Debug + echo $INPUTS + exit 1 # If using official action, use docker image from GitHub registry if [[ $METRICS_SOURCE == "lowlighter-test-forks" ]]; then @@ -394,4 +390,5 @@ runs: shell: bash env: METRICS_ACTION: ${{ github.action }} - METRICS_ACTION_PATH: ${{ github.action_path }} \ No newline at end of file + METRICS_ACTION_PATH: ${{ github.action_path }} + INPUTS: ${{ inputs }} \ No newline at end of file