Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroGlezC authored May 2, 2024
1 parent e63ce6a commit d232c0c
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,24 @@ jobs:
run:
working-directory: syg-backend
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
fetch-depth: 0

# Build and test the project
- name: Build and Test
run: mvn clean install
- name: Build and Test
run: mvn clean install

# SonarCloud analysis
- name: SonarCloud Analysis
run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# SonarCloud analysis
- name: SonarCloud Analysis
run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonarcloudFrontend:
name: sonarcloudFrontend
Expand Down

0 comments on commit d232c0c

Please sign in to comment.