Skip to content

Fix wrong repository on pushes.yml workflow #3

Fix wrong repository on pushes.yml workflow

Fix wrong repository on pushes.yml workflow #3

Workflow file for this run

name: Run PR Test
on:
pull_request:
types:
- synchronize
- opened
- ready_for_review
- reopened
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-tags: true
- name: Setup JDK 21
uses: neoforged/actions/setup-java@main
with:
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: false
- name: Setup with Gradle
run: ./gradlew setup
- name: Run JUnit tests with Gradle
run: ./gradlew :tests:runUnitTests
- name: Store Reports
if: failure ()
uses: actions/upload-artifact@v4
with:
name: reports
path: |
**/build/reports/
**/build/test-results/