Increased hunger saturation of Ice Cream and Yogurt #164
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: Growthcraft Build | |
on: [push] | |
jobs: | |
build: | |
name: Build Growthcraft | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: adopt | |
- name: Setup Gradle | |
run: chmod +x gradlew | |
- name: Setup CI Workspace | |
run: ./gradlew setupCIWorkspace | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Setup sonarqube | |
uses: warchant/setup-sonar-scanner@v8 | |
- name: Run sonarqube | |
env: | |
# to get access to secrets.SONAR_TOKEN, provide GITHUB_TOKEN | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: sonar-scanner | |
-Dsonar.login=${{ secrets.SONAR_TOKEN }} | |
-Dsonar.organization=growthcraftce | |
-Dsonar.host.url=https://sonarcloud.io/ | |
-Dsonar.projectKey=growthcraft:Growthcraft-1.12 |