From 156986e28c51438f9b6e4b17003c44f9f38fff10 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Thu, 26 Dec 2024 09:42:03 +0100 Subject: [PATCH] Renamed parameter debug to investigate. --- .github/workflows/ArtifactsUpload.yml | 4 ++-- action.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ArtifactsUpload.yml b/.github/workflows/ArtifactsUpload.yml index 16532fb..96cd1a3 100644 --- a/.github/workflows/ArtifactsUpload.yml +++ b/.github/workflows/ArtifactsUpload.yml @@ -52,12 +52,12 @@ jobs: bin/*.py lib/ - - name: 📤 Upload artifact '${{ matrix.os.name }}-pyTooling-release' with debug + - name: 📤 Upload artifact '${{ matrix.os.name }}-pyTooling-release' with investigate uses: pyTooling/upload-artifact@dev continue-on-error: true with: name: ${{ matrix.os.name }}-pyTooling-release - debug: true + investigate: true path: | document1.txt *.log diff --git a/action.yml b/action.yml index e8475c7..45ba715 100644 --- a/action.yml +++ b/action.yml @@ -86,9 +86,9 @@ inputs: type: string required: false default: 'tar' - debug: + investigate: description: | - Enabled debug mode. List content of the created tarball. + If enabled, list content of the created tarball. type: boolean required: false default: false @@ -131,7 +131,7 @@ runs: ANSI_LIGHT_BLUE="\e[94m" ANSI_NOCOLOR=$'\x1b[0m' - if [[ "${{ inputs.debug }}" == "true" ]]; then + if [[ "${{ inputs.investigate }}" == "true" ]]; then printf "::group::${ANSI_LIGHT_BLUE}List all shell options via 'shopt' ...${ANSI_NOCOLOR}\n" shopt printf "::endgroup::\n" @@ -276,8 +276,8 @@ runs: fi - name: List content of the generated tarball - id: debug - if: inputs.mode == 'tar' && inputs.debug == 'true' + id: investigate + if: inputs.mode == 'tar' && inputs.investigate == 'true' shell: bash run: | # List content of the generated tarball