From 55c063513d1c323df7df201a5bdaca759e0ad44a Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Sun, 31 Oct 2021 16:15:18 +0000 Subject: [PATCH] Shorten line to address yamllint warning --- .github/workflows/tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 89853b2..c1617b0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -508,12 +508,12 @@ jobs: # We build a workaround - name: Get Tag Type run: | - if git cat-file tag $GITHUB_REF; then TAGTYPE=tag; else TAGTYPE=commit; fi - echo "::set-output name=TAGTYPE::$TAGTYPE" + if git cat-file tag $GITHUB_REF; then TYPE=tag; else TYPE=commit; fi + echo "::set-output name=TAGTYPE::$TYPE" echo ================Debug echo REF=$GITHUB_REF - echo TAGTYPE=$TAGTYPE + echo TAGTYPE=$TYPE echo ================ echo git for-each-ref refs/tags git for-each-ref refs/tags @@ -521,8 +521,8 @@ jobs: echo git for-each-ref refs/heads git for-each-ref refs/heads echo ================ - echo git cat-file $TAGTYPE $GITHUB_REF - git cat-file $TAGTYPE $GITHUB_REF + echo git cat-file $TYPE $GITHUB_REF + git cat-file $TYPE $GITHUB_REF echo ================ - name: Fetch all Artifacts