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/'