This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git
The following commit(s) were added to refs/heads/master by this push:
new b6992eb5 minor tweaks to actions
b6992eb5 is described below
commit b6992eb5fa8d754190adfd56cc516428e4462179
Author: Paul King <[email protected]>
AuthorDate: Fri Dec 13 10:44:15 2024 +1000
minor tweaks to actions
---
.github/workflows/style-check.yml | 2 +-
buildSrc/src/main/groovy/geb.groovy-module.gradle | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/style-check.yml
b/.github/workflows/style-check.yml
index 9b4ffb9f..8a3cf82f 100644
--- a/.github/workflows/style-check.yml
+++ b/.github/workflows/style-check.yml
@@ -40,4 +40,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: build-reports
- path: build/reports/
+ path: '**/build/reports/'
diff --git a/buildSrc/src/main/groovy/geb.groovy-module.gradle
b/buildSrc/src/main/groovy/geb.groovy-module.gradle
index 9630c29b..daf88c0b 100644
--- a/buildSrc/src/main/groovy/geb.groovy-module.gradle
+++ b/buildSrc/src/main/groovy/geb.groovy-module.gradle
@@ -37,6 +37,8 @@ configurations {
codenarc.extendsFrom groovy
}
+boolean isCI = System.getenv('GITHUB_ACTIONS')
+codenarc.reportFormat = isCI ? 'xml' : 'html'
codenarc.configFile = rootProject.file('gradle/codenarc/rulesets.groovy')
def codenarcTasks = tasks.withType(CodeNarc)