diff --git a/.github/workflows/CI.yml b/.github/workflows/ci-snapshot.yml similarity index 95% rename from .github/workflows/CI.yml rename to .github/workflows/ci-snapshot.yml index 742b3b3..647cb0f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/ci-snapshot.yml @@ -1,4 +1,4 @@ -name: CI +name: CI SNAPSHOT on: workflow_dispatch: @@ -15,7 +15,7 @@ jobs: build_snapshot: runs-on: ubuntu-latest if: github.repository_owner == 'spring-projects' - name: CI Build ${{ github.ref_name }} SNAPSHOT + name: CI Build SNAPSHOT for ${{ github.ref_name }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build.yml similarity index 67% rename from .github/workflows/pr-build-workflow.yml rename to .github/workflows/pr-build.yml index 4c91047..d17c6d8 100644 --- a/.github/workflows/pr-build-workflow.yml +++ b/.github/workflows/pr-build.yml @@ -1,4 +1,4 @@ -name: Pull Request build +name: Pull Request Build on: pull_request: @@ -28,3 +28,10 @@ jobs: gradle-build-scan-report: false arguments: check + - name: Capture Test Results + if: failure() + uses: actions/upload-artifact@v3 + with: + name: test-results + path: '*/build/reports/tests/**/*.*' + retention-days: 3