File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2727 steps :
2828 - name : " Validate CustoPiZer action inputs"
2929 run : |
30- [ -f "${{ inputs.workspace }}"] || $(echo "Validation error: inputs.workspace does not exist!" && exit -1)
31- [ -f "${{ inputs.scripts }}"] || $(echo "Validation error: inputs.scripts does not exist!" && exit -1)
32- [ -z "${{ inputs.config }}"] || [ -f "${{ inputs.config }}" ] || $(echo "Validation error: inputs.config does not exist!" && exit -1)
30+ [ -f "${{ inputs.workspace }}" ] || $(echo "Validation error: inputs.workspace does not exist!" && exit -1)
31+ [ -f "${{ inputs.scripts }}" ] || $(echo "Validation error: inputs.scripts does not exist!" && exit -1)
32+ [ -z "${{ inputs.config }}" ] || [ -f "${{ inputs.config }}" ] || $(echo "Validation error: inputs.config does not exist!" && exit -1)
3333 [ -z "${{ inputs.environment }}" ] || $(echo '${{ inputs.environment }}' | jq) || $(echo "Validation error: inputs.environment does not contain valid json!" && exit -1)
3434 [ -z "${{ inputs.custopizer }}" ] || [[ "${{ inputs.custopizer }}" ~= ^[a-zA-Z0-9_][a-zA-Z0-9_.-]{0,127}$ || "${{ inputs.custopizer }}" =~ sha256:[a-f0-9]{64}$ ]] || $(echo "Validation error: inputs.custopizer does not contain a valid version!" && exit -1)
3535 shell : bash
You can’t perform that action at this time.
0 commit comments