Skip to content

ja trans

ja trans #304

Workflow file for this run

name: PR Tests
on: pull_request
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v4
- name: Set up JDK 20
uses: actions/setup-java@v4
with:
java-version: 20
distribution: temurin
- name: Compile test JAR
run: |
export PATH=./tools:$PATH
./gradlew desktop:dist --parallel
- name: Upload desktop JAR for testing
uses: actions/upload-artifact@v4
with:
name: Desktop JAR (zipped)
path: desktop/build/libs/Mindustry.jar
- name: Run Tests
if: ${{ always() }}
run: ./gradlew tests:test