Create pr_flow.yaml

This commit is contained in:
Viacheslav Kudinov 2021-06-10 13:51:52 +02:00 committed by GitHub
parent 55e25f4fb6
commit 4151121dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

23
.github/workflows/pr_flow.yaml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Java CI/CD workflow
on:
pull_request:
push:
branches:
- master
jobs:
java_setup:
name: "Setup Java"
runs-on: [ self-hosted, xlarge ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: "Verify Java version"
run: java -version
- uses: vk-org/setup-maven
with:
maven-version: 3.8.3