Skip to content

Update gradle.yml

Update gradle.yml #8

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'liberica'
- name: Fix Permission
run: |
cd "forge 1.19.2"
chmod +x ./gradlew
- name: Build with Gradle
uses: gradle/[email protected]
with:
arguments: build
# gradle-wrapper-path: "forge 1.19.2/gradlew"
build-root-directory: "forge 1.19.2"
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
path: "forge 1.19.2/build/libs"