Merge pull request #14 from xCykrix/13-improvement-in-functions #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Java Continuous Integration" | |
on: | |
push: | |
branches: [main, staging] | |
pull_request: | |
branches: [main, staging] | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
name: Java Maven Build | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
architecture: x64 | |
- name: Compile | |
run: "mvn --batch-mode --update-snapshots clean package" |