Skip to content

Bump Version

Bump Version #2791

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
java: [17, 20]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
- name: Check Licenses and Generate QMJs
uses: gradle/gradle-build-action@v2
with:
arguments: checkLicenses generateQmj --parallel --stacktrace
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') && !startsWith(github.ref, 'refs/tags/v') }}
- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: build publishToMavenLocal --stacktrace --parallel -Porg.gradle.parallel.threads=4
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') && !startsWith(github.ref, 'refs/tags/v') }}
- run: mkdir run && echo "eula=true" >> run/eula.txt
- name: Run auto-test server
uses: gradle/gradle-build-action@v2
with:
arguments: :runAutoAllTestServer --stacktrace
- uses: actions/upload-artifact@v3
with:
name: Production Mods
path: |
./**/build/libs/
!./build-logic/**
!./**/build/libs/*-javadoc.jar
!./**/build/libs/*-sources.jar
!./**/build/libs/*-testmod.jar
- uses: actions/upload-artifact@v3
with:
name: Test Mods
path: ./**/build/libs/*-testmod.jar