SR-Game/.forgejo/workflows/build.yaml
unurled 6dd20174ad
Some checks failed
Build / build (push) Failing after 2m27s
sonar qube
2024-03-15 15:06:46 +01:00

24 lines
No EOL
586 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: build
with:
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
run: |
chmod +x gradlew
./gradlew build
./gradlew sonar
- uses: actions/upload-artifact@v3
with:
name: build
path: build/libs/