From 33926125ab46ab68d1083a00373bf91e4431698d Mon Sep 17 00:00:00 2001 From: java-is-bad <159275159+java-is-bad@users.noreply.github.com> Date: Wed, 7 Feb 2024 22:37:45 +0800 Subject: [PATCH] Update action.yml --- action.yml | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index b2baff6..45f7633 100644 --- a/action.yml +++ b/action.yml @@ -5,10 +5,35 @@ branding: icon: check color: green runs: - using: docker - image: Dockerfile - entrypoint: "/entrypoint.sh" - post-entrypoint: "/cleanup.sh" + using: "composite" + steps: + - id: setup1 + uses: docker + image: Dockerfile + entrypoint: "/entrypoint.sh" + post-entrypoint: "/cleanup.sh" + continue-on-error: true + - id: setup2 + if: steps.setup1.outcome == 'failure' + uses: docker + image: Dockerfile + entrypoint: "/entrypoint.sh" + post-entrypoint: "/cleanup.sh" + continue-on-error: true + - id: setup3 + if: steps.setup2.outcome == 'failure' + uses: docker + image: Dockerfile + entrypoint: "/entrypoint.sh" + post-entrypoint: "/cleanup.sh" + continue-on-error: true + - id: setup4 + if: steps.setup3.outcome == 'failure' + uses: docker + image: Dockerfile + entrypoint: "/entrypoint.sh" + post-entrypoint: "/cleanup.sh" + continue-on-error: true inputs: args: description: Additional arguments to the sonar-scanner