Skip to content

Bump gradle/gradle-build-action from 2.9.0 to 2.11.1 #470

Bump gradle/gradle-build-action from 2.9.0 to 2.11.1

Bump gradle/gradle-build-action from 2.9.0 to 2.11.1 #470

Workflow file for this run

# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.11.1
with:
arguments: build
- uses: actions/upload-artifact@v3
with:
name: Armour-and-Tools-Mod
path: build/libs