From cb6e43f18001186272630908bb44a8246d3df780 Mon Sep 17 00:00:00 2001 From: daz Date: Tue, 9 Apr 2024 15:16:33 -0600 Subject: [PATCH] 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' --- action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index f0a2c9c..46c3e6d 100644 --- a/action.yml +++ b/action.yml @@ -176,14 +176,18 @@ runs: dependency-graph-continue-on-failure: ${{ inputs.dependency-graph-continue-on-failure }} artifact-retention-days: ${{ inputs.artifact-retention-days }} 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-agree: ${{ inputs.build-scan-terms-of-use-agree || inputs.build-scan-terms-of-service-agree }} + 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 }} + 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 }} build-root-directory: ${{ inputs.build-root-directory }} generate-job-summary: ${{ inputs.generate-job-summary }} gradle-home-cache-strict-match: ${{ inputs.gradle-home-cache-strict-match }} workflow-job-context: ${{ inputs.workflow-job-context }} github-token: ${{ inputs.github-token }} + env: + GRADLE_ACTION_ID: gradle/gradle-build-action branding: icon: 'box'