Skip to content

Merge pull request #394 from GrowthcraftCE/development #169

Merge pull request #394 from GrowthcraftCE/development

Merge pull request #394 from GrowthcraftCE/development #169

Workflow file for this run

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