Skip to content

Bump the github-actions group across 1 directory with 4 updates #94

Bump the github-actions group across 1 directory with 4 updates

Bump the github-actions group across 1 directory with 4 updates #94

Workflow file for this run

# Builds every Minecraft version / loader combination declared in settings.gradle.kts.
# Stonecutter fans the build out across all targets; chiseledBuildAndCollect gathers the
# resulting jars into the root build/libs directory.
name: build
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: validate gradle wrapper
uses: gradle/actions/wrapper-validation@3f5f9adaf7d9fecd50b5935e54106014257a94e6 # v6.4.0
# 1.21.x targets compile against Java 21, 26.x targets against Java 25.
# Both toolchains have to be present for the whole matrix to build in one pass.
- name: setup jdks
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
java-version: |
17
21
25
distribution: 'temurin'
- name: setup gradle
uses: gradle/actions/setup-gradle@3f5f9adaf7d9fecd50b5935e54106014257a94e6 # v6.4.0
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build all versions
run: ./gradlew chiseledBuildAndCollect --stacktrace
- name: capture build artifacts
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: Mod Jars
path: build/libs/