forked from sonatype-nexus-community/nexus-repository-chef
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
892bd65
commit 22878ec
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: clean jdk 11 | ||
run: sudo apt remove -y openjdk-11-* | ||
- name: install packages | ||
run: sudo apt install -y openjdk-8-jdk | ||
- name: set java 8 as default | ||
run: sudo update-java-alternatives -s $(sudo update-java-alternatives -l | grep '1\.8' | cut -d " " -f1) || echo '.' | ||
- uses: hb0730/[email protected] | ||
- name: build and package | ||
run: mvn clean package -PbuildKar --file pom.xml | ||
|