Skip to content

Commit

Permalink
PR build GHA from spring-github-workflows repo
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Nov 19, 2023
1 parent 75d4825 commit 08eb3cb
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,5 @@ on:
- main

jobs:
build:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v4
with:
show-progress: false

- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
cache: gradle

- name: Build PR
uses: burrunan/gradle-cache-action@v1
with:
debug: false
concurrent: true
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
build-pull-request:
uses: artembilan/spring-github-workflows/.github/workflows/spring-gradle-pull-request-build.yml@main

0 comments on commit 08eb3cb

Please sign in to comment.