SR-Game/.forgejo/workflows/build.yaml
unurled 817a0c5a3f
Some checks failed
Build / build (push) Failing after 1m55s
Update .forgejo/workflows/build.yaml
2024-03-15 13:56:52 +00:00

26 lines
No EOL
700 B
YAML

name: Build
run-name: ${{ github.actor }} is building
on: [ push, pull_request ]
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
with:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
- name: build
run: |
chmod +x gradlew
./gradlew build
- uses: actions/upload-artifact@v3
with:
name: build
path: build/libs/