Skip to content

Commit

Permalink
use Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
kwin committed Mar 29, 2021
1 parent 483b4b6 commit d179e86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
steps:
- name: Git Clone
uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
server-username: MAVEN_USERNAME # env variable for username in deploy
server-password: MAVEN_PASSWORD # env variable for token in deploy
Expand All @@ -26,7 +26,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -B clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Netcentric_aem-cloud-validator -Dsonar.organization=netcentric -Dsonar.host.url=https://sonarcloud.io -Pjacoco-report
- name: Deploy with Maven
- name: Build and Deploy with Maven
if: github.ref == 'refs/heads/main'
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USER }}
Expand Down

0 comments on commit d179e86

Please sign in to comment.