ci: Adjust and modernize workflow files to match other repos

This commit is contained in:
oSumAtrIX
2025-05-12 18:30:54 +02:00
parent 015a2df457
commit 244a8f4e17
7 changed files with 117 additions and 103 deletions

View File

@@ -0,0 +1,25 @@
name: Build pull request
on:
workflow_dispatch:
pull_request:
branches:
- dev
jobs:
release:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache Gradle
uses: burrunan/gradle-cache-action@v1
- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew build --no-daemon