mirror of
https://github.com/gradle/actions.git
synced 2025-04-23 03:09:20 +08:00
Update terms of use URL again
This commit is contained in:
parent
0457418e74
commit
0170239e68
@ -5,7 +5,7 @@ plugins {
|
|||||||
|
|
||||||
gradleEnterprise {
|
gradleEnterprise {
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = "https://gradle.com/legal/terms-of-use"
|
termsOfServiceUrl = "https://gradle.com/help/legal-terms-of-use"
|
||||||
termsOfServiceAgree = "yes"
|
termsOfServiceAgree = "yes"
|
||||||
publishAlways()
|
publishAlways()
|
||||||
uploadInBackground = false
|
uploadInBackground = false
|
||||||
|
@ -5,7 +5,7 @@ plugins {
|
|||||||
|
|
||||||
gradleEnterprise {
|
gradleEnterprise {
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = "https://gradle.com/legal/terms-of-use"
|
termsOfServiceUrl = "https://gradle.com/help/legal-terms-of-use"
|
||||||
termsOfServiceAgree = "yes"
|
termsOfServiceAgree = "yes"
|
||||||
publishAlways()
|
publishAlways()
|
||||||
isUploadInBackground = false
|
isUploadInBackground = false
|
||||||
|
@ -3,7 +3,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = "https://gradle.com/legal/terms-of-use"
|
termsOfServiceUrl = "https://gradle.com/help/legal-terms-of-use"
|
||||||
termsOfServiceAgree = "yes"
|
termsOfServiceAgree = "yes"
|
||||||
publishAlways()
|
publishAlways()
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ plugins {
|
|||||||
|
|
||||||
gradleEnterprise {
|
gradleEnterprise {
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = "https://gradle.com/legal/terms-of-use"
|
termsOfServiceUrl = "https://gradle.com/help/legal-terms-of-use"
|
||||||
termsOfServiceAgree = "yes"
|
termsOfServiceAgree = "yes"
|
||||||
publishAlways()
|
publishAlways()
|
||||||
uploadInBackground = false
|
uploadInBackground = false
|
||||||
|
@ -4,7 +4,7 @@ plugins {
|
|||||||
|
|
||||||
gradleEnterprise {
|
gradleEnterprise {
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = "https://gradle.com/legal/terms-of-use"
|
termsOfServiceUrl = "https://gradle.com/help/legal-terms-of-use"
|
||||||
termsOfServiceAgree = "yes"
|
termsOfServiceAgree = "yes"
|
||||||
publishAlways()
|
publishAlways()
|
||||||
uploadInBackground = false
|
uploadInBackground = false
|
||||||
|
@ -4,7 +4,7 @@ plugins {
|
|||||||
|
|
||||||
gradleEnterprise {
|
gradleEnterprise {
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = "https://gradle.com/legal/terms-of-use"
|
termsOfServiceUrl = "https://gradle.com/help/legal-terms-of-use"
|
||||||
termsOfServiceAgree = "yes"
|
termsOfServiceAgree = "yes"
|
||||||
publishAlways()
|
publishAlways()
|
||||||
uploadInBackground = false
|
uploadInBackground = false
|
||||||
|
@ -83,7 +83,7 @@ jobs:
|
|||||||
cache-read-only: false # For testing, allow writing cache entries on non-default branches
|
cache-read-only: false # For testing, allow writing cache entries on non-default branches
|
||||||
gradle-version: ${{ matrix.gradle }}
|
gradle-version: ${{ matrix.gradle }}
|
||||||
build-scan-publish: true
|
build-scan-publish: true
|
||||||
build-scan-terms-of-use-url: "https://gradle.com/legal/terms-of-use"
|
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
|
||||||
build-scan-terms-of-use-agree: "yes"
|
build-scan-terms-of-use-agree: "yes"
|
||||||
- name: Run Gradle build
|
- name: Run Gradle build
|
||||||
id: gradle
|
id: gradle
|
||||||
|
@ -97,14 +97,14 @@ offending dependency.
|
|||||||
### Publishing a Develocity Build Scan® from your dependency submission workflow
|
### Publishing a Develocity Build Scan® from your dependency submission workflow
|
||||||
|
|
||||||
You can automatically publish a Build Scan on every run of `gradle/actions/dependency-submission`. Three input parameters are
|
You can automatically publish a Build Scan on every run of `gradle/actions/dependency-submission`. Three input parameters are
|
||||||
required, one to enable publishing and two more to accept the [Develocity terms of use](https://gradle.com/legal/terms-of-use).
|
required, one to enable publishing and two more to accept the [Develocity terms of use](https://gradle.com/help/legal-terms-of-use).
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Generate and submit dependency graph
|
- name: Generate and submit dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v3
|
uses: gradle/actions/dependency-submission@v3
|
||||||
with:
|
with:
|
||||||
build-scan-publish: true
|
build-scan-publish: true
|
||||||
build-scan-terms-of-use-url: "https://gradle.com/legal/terms-of-use"
|
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
|
||||||
build-scan-terms-of-use-agree: "yes"
|
build-scan-terms-of-use-agree: "yes"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
build-scan-terms-of-use-url:
|
build-scan-terms-of-use-url:
|
||||||
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/legal/terms-of-use'.
|
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/help/legal-terms-of-use'.
|
||||||
required: false
|
required: false
|
||||||
build-scan-terms-of-use-agree:
|
build-scan-terms-of-use-agree:
|
||||||
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
|
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
|
||||||
|
@ -688,7 +688,7 @@ The `init-script` supports several additional configuration parameters that you
|
|||||||
Develocity injection is designed to enable the publishing of build scans to a Develocity instance,
|
Develocity injection is designed to enable the publishing of build scans to a Develocity instance,
|
||||||
but is also useful for publishing to the public Build Scans instance (https://scans.gradle.com).
|
but is also useful for publishing to the public Build Scans instance (https://scans.gradle.com).
|
||||||
|
|
||||||
To publish to https://scans.gradle.com, you must specify in your workflow that you accept the [Gradle Terms of Use](https://gradle.com/legal/terms-of-use).
|
To publish to https://scans.gradle.com, you must specify in your workflow that you accept the [Gradle Terms of Use](https://gradle.com/help/legal-terms-of-use).
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: Run build and publish Build Scan
|
name: Run build and publish Build Scan
|
||||||
@ -702,7 +702,7 @@ jobs:
|
|||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
build-scan-publish: true
|
build-scan-publish: true
|
||||||
build-scan-terms-of-use-url: "https://gradle.com/legal/terms-of-use"
|
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
|
||||||
build-scan-terms-of-use-agree: "yes"
|
build-scan-terms-of-use-agree: "yes"
|
||||||
|
|
||||||
- name: Run a Gradle build - a build scan will be published automatically
|
- name: Run a Gradle build - a build scan will be published automatically
|
||||||
|
@ -90,7 +90,7 @@ inputs:
|
|||||||
default: false
|
default: false
|
||||||
|
|
||||||
build-scan-terms-of-use-url:
|
build-scan-terms-of-use-url:
|
||||||
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/legal/terms-of-use'.
|
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/help/legal-terms-of-use'.
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
build-scan-terms-of-use-agree:
|
build-scan-terms-of-use-agree:
|
||||||
|
@ -14,7 +14,7 @@ export function setup(): void {
|
|||||||
function verifyTermsOfUseAgreement(): boolean {
|
function verifyTermsOfUseAgreement(): boolean {
|
||||||
if (
|
if (
|
||||||
getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' ||
|
getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' ||
|
||||||
getBuildScanTermsOfUseUrl() !== 'https://gradle.com/legal/terms-of-use' ||
|
getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use' ||
|
||||||
getBuildScanTermsOfUseAgree() !== 'yes'
|
getBuildScanTermsOfUseAgree() !== 'yes'
|
||||||
) {
|
) {
|
||||||
core.warning(`Terms of use must be agreed in order to publish build scans.`)
|
core.warning(`Terms of use must be agreed in order to publish build scans.`)
|
||||||
|
@ -5,7 +5,7 @@ plugins {
|
|||||||
|
|
||||||
gradleEnterprise {
|
gradleEnterprise {
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = "https://gradle.com/legal/terms-of-use"
|
termsOfServiceUrl = "https://gradle.com/help/legal-terms-of-use"
|
||||||
termsOfServiceAgree = "yes"
|
termsOfServiceAgree = "yes"
|
||||||
publishAlways()
|
publishAlways()
|
||||||
uploadInBackground = false
|
uploadInBackground = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user