Skip to content

Commit

Permalink
build: add gha workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Citymonstret committed Dec 16, 2023
1 parent f5223ee commit 0b3c0b0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build cloud-spring
on:
push:
branches: [ "**" ]
tags-ignore: [ "**" ]
pull_request:
release:
types: [ released ]
jobs:
build:
# Only run on PRs if the source branch is on someone else's repo
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Build
run: ./gradlew build
- name : Test Summary
uses : EnricoMi/[email protected]
with :
junit_files : "**/build/test-results/test/TEST-*.xml"
if : always()

0 comments on commit 0b3c0b0

Please sign in to comment.