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

commit 094e7ec3acf06453511e4ce5275a66a757648b42
Author: Paul King <[email protected]>
AuthorDate: Thu Dec 19 12:30:25 2024 +1000

    tweak actions
---
 .github/workflows/build-test.yml    | 6 ++++++
 .github/workflows/license-check.yml | 2 +-
 .github/workflows/style-check.yml   | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index e779ba2f..46611d29 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -40,3 +40,9 @@ jobs:
       - name: Build and run tests
         run: ./gradlew --no-daemon --no-build-cache test
         timeout-minutes: 60
+      - name: Upload reports
+        uses: actions/upload-artifact@v4
+        if: always()
+        with:
+          name: build-reports
+          path: build/reports/
diff --git a/.github/workflows/license-check.yml 
b/.github/workflows/license-check.yml
index 20661411..42cbdd2d 100644
--- a/.github/workflows/license-check.yml
+++ b/.github/workflows/license-check.yml
@@ -41,7 +41,7 @@ jobs:
         timeout-minutes: 60
       - name: Upload reports
         uses: actions/upload-artifact@v4
-        if: success() || failure() # always run even if the previous step fails
+        if: always()
         with:
           name: build-reports
           path: build/reports/
diff --git a/.github/workflows/style-check.yml 
b/.github/workflows/style-check.yml
index 14bdce02..8a63445a 100644
--- a/.github/workflows/style-check.yml
+++ b/.github/workflows/style-check.yml
@@ -38,7 +38,7 @@ jobs:
         timeout-minutes: 60
       - name: Upload reports
         uses: actions/upload-artifact@v4
-        if: success() || failure() # always run even if the previous step fails
+        if: always()
         with:
           name: build-reports
           path: '**/build/reports/'

Reply via email to