Restore Capture Test Results for PR GHA
* Renaming GHA workflow files for better context
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user