From d9d524a8d8586f79f7056bfb89a1a007f26b376f Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Sun, 31 Oct 2021 17:47:43 +0000 Subject: [PATCH] Add more debug data output --- .github/workflows/tests.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3388577..de82a3d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -515,9 +515,16 @@ jobs: - name: Checkout run: | git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY $GITHUB_WORKSPACE + echo git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY $GITHUB_WORKSPACE - name: Get Tag Type run: | + echo ================Debug + echo ls .git/refs/heads + ls .git/refs/heads + echo ls .git/refs/tags + ls .git/refs/tags + echo ================ TYPE=$(git cat-file -t $GITHUB_REF) echo "::set-output name=TAGTYPE::$TYPE" @@ -534,8 +541,8 @@ jobs: echo git cat-file $TYPE $GITHUB_REF git cat-file $TYPE $GITHUB_REF echo ================ - echo cat .git/$GITHUB_REF - cat .git/$GITHUB_REF + echo cat .git/$GITHUB_REF || true + cat .git/$GITHUB_REF || true echo ================ - name: Fetch all Artifacts