From 26b91397f112c53d2c8c33533e5261392e473d47 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Mon, 1 Dec 2025 12:03:51 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"feat:=20=E4=BF=AE=E6=94=B9=E6=8C=87?= =?UTF-8?q?=E4=BB=A4=E5=9F=B7=E8=A1=8C=E6=A0=BC=E5=BC=8F"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 49839e72a03fdde7e26918486c6fc6b0518160f8. --- action.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 90ee40e..2cb25cf 100644 --- a/action.yml +++ b/action.yml @@ -28,10 +28,25 @@ runs: - name: 清理舊版本 id: cleanup shell: bash - run: chmod +x "${{ github.action_path }}/cleanup-releases.sh" && "${{ github.action_path }}/cleanup-releases.sh" "${{ inputs.gitea-server }}" "${{ inputs.repository }}" "${{ inputs.token }}" "${{ inputs.keep-count }}" "${{ inputs.dry-run }}" + run: | + chmod +x "${{ github.action_path }}/cleanup-releases.sh" + "${{ github.action_path }}/cleanup-releases.sh" \ + "${{ inputs.gitea-server }}" \ + "${{ inputs.repository }}" \ + "${{ inputs.token }}" \ + "${{ inputs.keep-count }}" \ + "${{ inputs.dry-run }}" - name: 清理舊映像 id: cleanup-images if: inputs.package-name != '' shell: bash - run: chmod +x "${{ github.action_path }}/cleanup-images.sh" && "${{ github.action_path }}/cleanup-images.sh" "${{ inputs.gitea-server }}" "${{ inputs.repository }}" "${{ inputs.package-name }}" "${{ inputs.token }}" "${{ inputs.keep-count }}" "${{ inputs.dry-run }}" + run: | + chmod +x "${{ github.action_path }}/cleanup-images.sh" + "${{ github.action_path }}/cleanup-images.sh" \ + "${{ inputs.gitea-server }}" \ + "${{ inputs.repository }}" \ + "${{ inputs.package-name }}" \ + "${{ inputs.token }}" \ + "${{ inputs.keep-count }}" \ + "${{ inputs.dry-run }}"