diff --git a/action.yml b/action.yml index 7eb11cc..a8906ba 100644 --- a/action.yml +++ b/action.yml @@ -12,6 +12,10 @@ inputs: description: 'cfssl pki API port' default: '444' required: false + debug: + description: "show debug information about certificate truststore content" + required: false + default: "false" outputs: ca-cert: value: "${{ steps.retrieve-ca-cert.outputs.ca-cert }}" @@ -34,3 +38,10 @@ runs: echo "EOF" >> "$GITHUB_OUTPUT" echo "ca-cert-base64=$ca_cert_base64" >> "$GITHUB_OUTPUT" + + - name: Show retrieve root CA cert + if: ${{ inputs.debug == 'true' }} + shell: bash + run: | + echo "${{ steps.retrieve-ca-cert.outputs.ca-cert }}" + echo "${{ steps.retrieve-ca-cert.outputs.ca-cert-base64 }}"