mirror of
https://github.com/gradle/actions
synced 2024-11-23 18:02:13 +00:00
Make it easy to publish build scans from 'dependency-submission'
This commit is contained in:
parent
bdb2b520ea
commit
3247582571
1 changed files with 19 additions and 0 deletions
|
@ -30,6 +30,19 @@ inputs:
|
||||||
required: false
|
required: false
|
||||||
default: 'generate-and-submit'
|
default: 'generate-and-submit'
|
||||||
|
|
||||||
|
build-scan-publish:
|
||||||
|
description: |
|
||||||
|
Set to 'true' to automatically publish build results as a Build Scan on scans.gradle.com.
|
||||||
|
For publication to succeed without user input, you must also provide values for `build-scan-terms-of-service-url` and 'build-scan-terms-of-service-agree'.
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
build-scan-terms-of-service-url:
|
||||||
|
description: The URL to the Build Scan® terms of service. This input must be set to 'https://gradle.com/terms-of-service'.
|
||||||
|
required: false
|
||||||
|
build-scan-terms-of-service-agree:
|
||||||
|
description: Indicate that you agree to the Build Scan® terms of service. This input value must be "yes".
|
||||||
|
required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
@ -42,6 +55,9 @@ runs:
|
||||||
gradle-version: ${{ inputs.gradle-version }}
|
gradle-version: ${{ inputs.gradle-version }}
|
||||||
build-root-directory: ${{ inputs.build-root-directory }}
|
build-root-directory: ${{ inputs.build-root-directory }}
|
||||||
cache-encryption-key: ${{ inputs.cache-encryption-key }}
|
cache-encryption-key: ${{ inputs.cache-encryption-key }}
|
||||||
|
build-scan-publish: ${{ inputs.build-scan-publish }}
|
||||||
|
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: |
|
arguments: |
|
||||||
--no-configure-on-demand
|
--no-configure-on-demand
|
||||||
--dependency-verification=off
|
--dependency-verification=off
|
||||||
|
@ -56,6 +72,9 @@ runs:
|
||||||
gradle-version: ${{ inputs.gradle-version }}
|
gradle-version: ${{ inputs.gradle-version }}
|
||||||
build-root-directory: ${{ inputs.build-root-directory }}
|
build-root-directory: ${{ inputs.build-root-directory }}
|
||||||
cache-encryption-key: ${{ inputs.cache-encryption-key }}
|
cache-encryption-key: ${{ inputs.cache-encryption-key }}
|
||||||
|
build-scan-publish: ${{ inputs.build-scan-publish }}
|
||||||
|
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: |
|
arguments: |
|
||||||
--no-configure-on-demand
|
--no-configure-on-demand
|
||||||
--dependency-verification=off
|
--dependency-verification=off
|
||||||
|
|
Loading…
Reference in a new issue