Skip to content

Commit

Permalink
Create gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kressety authored Jan 21, 2024
1 parent 87b7c18 commit ecad67b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
path: "forge 1.19.2/build/libs"

0 comments on commit ecad67b

Please sign in to comment.