kazurayam / inspectus4katalon-gradle-plugin

A Gradle plugin that helps Katalon Studio project to use the inspectus library. Inspectus-powered project will be able to perform Visual Inspection.
Apache License 2.0
0 stars 0 forks source link

on GitHub Actions, execute build --scan #29

Open kazurayam opened 1 year ago

kazurayam commented 1 year ago

Enable Build Scan™ publishing Gradle Build Scans are a great way to view your build results, and provide valuable insights into your build. In order to publish Build Scans from GitHub Actions, you’ll need to pre-approve the Terms & Conditions.

To do so, add the following content to the top of your settings.gradle[.kts] file. The "CI" environment variable is set by GitHub Actions:

plugins {
    id("com.gradle.enterprise") version("3.9")
}

gradleEnterprise {
    if (System.getenv("CI") != null) {
        buildScan {
            publishAlways()
            termsOfServiceUrl = "https://gradle.com/terms-of-service"
            termsOfServiceAgree = "yes"
        }
    }
}