Emit correct deprecation warnings in setup-gradle

- Set the action id via ENV var
- Pass the `build-scan-terms-of-service*` parameters directly to 'setup-gradle'
This commit is contained in:
daz 2024-04-09 15:16:33 -06:00
parent bdf99f9dad
commit cb6e43f180
No known key found for this signature in database

View file

@ -176,14 +176,18 @@ runs:
dependency-graph-continue-on-failure: ${{ inputs.dependency-graph-continue-on-failure }} dependency-graph-continue-on-failure: ${{ inputs.dependency-graph-continue-on-failure }}
artifact-retention-days: ${{ inputs.artifact-retention-days }} artifact-retention-days: ${{ inputs.artifact-retention-days }}
build-scan-publish: ${{ inputs.build-scan-publish }} build-scan-publish: ${{ inputs.build-scan-publish }}
build-scan-terms-of-use-url: ${{ inputs.build-scan-terms-of-use-url || inputs.build-scan-terms-of-service-url }} build-scan-terms-of-use-url: ${{ inputs.build-scan-terms-of-use-url }}
build-scan-terms-of-use-agree: ${{ inputs.build-scan-terms-of-use-agree || inputs.build-scan-terms-of-service-agree }} build-scan-terms-of-use-agree: ${{ inputs.build-scan-terms-of-use-agree }}
build-scan-terms-of-service-url: ${{ inputs.build-scan-terms-of-service-url }}
build-scan-terms-of-service-agree: ${{ inputs.build-scan-terms-of-service-agree }}
arguments: ${{ inputs.arguments }} arguments: ${{ inputs.arguments }}
build-root-directory: ${{ inputs.build-root-directory }} build-root-directory: ${{ inputs.build-root-directory }}
generate-job-summary: ${{ inputs.generate-job-summary }} generate-job-summary: ${{ inputs.generate-job-summary }}
gradle-home-cache-strict-match: ${{ inputs.gradle-home-cache-strict-match }} gradle-home-cache-strict-match: ${{ inputs.gradle-home-cache-strict-match }}
workflow-job-context: ${{ inputs.workflow-job-context }} workflow-job-context: ${{ inputs.workflow-job-context }}
github-token: ${{ inputs.github-token }} github-token: ${{ inputs.github-token }}
env:
GRADLE_ACTION_ID: gradle/gradle-build-action
branding: branding:
icon: 'box' icon: 'box'