Move CI to GitHub Actions
This commit is contained in:
22
.github/workflows/build-pull-request.yml
vendored
Normal file
22
.github/workflows/build-pull-request.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Build Pull Request
|
||||
on: pull_request
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build pull request
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'spring-projects/spring-ws-samples' }}
|
||||
steps:
|
||||
- name: Check out
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'liberica'
|
||||
cache: 'maven'
|
||||
- name: Build with Maven
|
||||
run: ./mvnw --batch-mode --update-snapshots verify
|
||||
Reference in New Issue
Block a user