From 425b35a08a3868ac500c166d7b545c2e78d1670d Mon Sep 17 00:00:00 2001 From: Lyda <1829913225@qq.com> Date: Sat, 11 Oct 2025 18:36:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=20GitHub=20Action=20=E4=B8=AD?= =?UTF-8?q?=E6=98=BE=E5=BC=8F=E6=8C=87=E5=AE=9A=20bash=20=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-env/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config-env/action.yml b/config-env/action.yml index 923c2e5..45369aa 100644 --- a/config-env/action.yml +++ b/config-env/action.yml @@ -64,7 +64,7 @@ runs: steps: - name: 配置 Git shell: bash - run: ${{ github.action_path }}/scripts/configure-git.sh + run: bash ${{ github.action_path }}/scripts/configure-git.sh env: GIT_USER_NAME: ${{ inputs.git-user-name }} GIT_USER_EMAIL: ${{ inputs.git-user-email }} @@ -72,7 +72,7 @@ runs: - name: 校验工具可用性 id: validate-tools shell: bash - run: ${{ github.action_path }}/scripts/validate-tools.sh + run: bash ${{ github.action_path }}/scripts/validate-tools.sh env: CHECK_DOCKER: ${{ inputs.require-docker }} CHECK_KUBECTL: ${{ inputs.require-kubectl }} @@ -80,7 +80,7 @@ runs: - name: 配置 kubectl if: ${{ inputs.kube-config != '' && inputs.require-kubectl != 'false' }} shell: bash - run: ${{ github.action_path }}/scripts/configure-kubectl.sh + run: bash ${{ github.action_path }}/scripts/configure-kubectl.sh env: KUBE_CONFIG_BASE64: ${{ inputs.kube-config }} @@ -88,7 +88,7 @@ runs: id: verify-kubectl if: ${{ inputs.kube-config != '' && inputs.verify-kubectl-cluster != 'false' && inputs.require-kubectl != 'false' }} shell: bash - run: ${{ github.action_path }}/scripts/verify-kubectl.sh + run: bash ${{ github.action_path }}/scripts/verify-kubectl.sh - name: 登录私有 Docker 仓库 if: ${{ inputs.skip-docker-login != 'true' }}