Require Maven project to use Java 17. #94
Workflow file for this run
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: ci | |
on: [ push, pull_request ] | |
jobs: | |
java17: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install pcp | |
run: | | |
wget -qO - https://pcp.io/GPG-KEY-PCP | sudo apt-key add - | |
#sudo add-apt-repository 'deb https://performancecopilot.jfrog.io/artifactory/pcp-deb-release focal main' -y | |
curl -s https://packagecloud.io/install/repositories/performancecopilot/pcp/script.deb.sh | sudo bash | |
sudo apt-get update -q | |
sudo apt-get install -y pcp-zeroconf pcp-gui | |
- name: verify pcp install | |
run: pcp | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'oracle' | |
java-version: '17' | |
- name: install maven | |
run: sudo apt-get install -y maven | |
- name: open up access | |
run: sudo chmod o+w /var/lib/pcp/tmp/mmv | |
- name: verify parfait | |
run: mvn -B -V clean install verify |