fix: 修复 kubectl 配置条件,移除冗余的 skipped 状态检测
This commit is contained in:
@@ -69,7 +69,7 @@ runs:
|
|||||||
ENABLE_VALIDATION: ${{ inputs.enable-validation }}
|
ENABLE_VALIDATION: ${{ inputs.enable-validation }}
|
||||||
|
|
||||||
- name: 配置 kubectl
|
- 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
|
shell: bash
|
||||||
run: bash ${{ github.action_path }}/scripts/configure-kubectl.sh
|
run: bash ${{ github.action_path }}/scripts/configure-kubectl.sh
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user