change git workflow

This commit is contained in:
mcrcortex
2025-04-25 14:18:41 +10:00
parent 987427b893
commit f023f8e8f1
2 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
name: check-does-build-pr
on: [ pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Verify wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: true
- name: Gradle build
run: ./gradlew build

View File

@@ -1,6 +1,6 @@
name: check-does-build
on: [ push, pull_request ]
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest