fix: 修复 kubectl 配置条件,移除冗余的 skipped 状态检测
This commit is contained in:
@@ -69,7 +69,7 @@ runs:
|
||||
ENABLE_VALIDATION: ${{ inputs.enable-validation }}
|
||||
|
||||
- name: 配置 kubectl
|
||||
if: ${{ inputs.kube-config != '' && steps.validate-tools.outputs.kubectl-version != 'not-found' && steps.validate-tools.outputs.kubectl-version != 'skipped' }}
|
||||
if: ${{ inputs.kube-config != '' && steps.validate-tools.outputs.kubectl-version != 'not-found' }}
|
||||
shell: bash
|
||||
run: bash ${{ github.action_path }}/scripts/configure-kubectl.sh
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user