SR-Game/.forgejo/workflows/build.yaml
unurled 50d0b9a1bf
Some checks failed
Build / build (push) Failing after 8s
Update .forgejo/workflows/build.yaml
2024-04-25 16:36:53 +00:00

23 lines
No EOL
595 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
run: |
chmod +x gradlew
./gradlew build
git fetch --unshallow
./gradlew sonar -Dsonar.token=${{ secrets.SONARQUBE_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: build
path: build/libs/