Update action.yml

This commit is contained in:
java-is-bad 2024-02-07 22:37:45 +08:00 committed by GitHub
parent 1b9d398800
commit 33926125ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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