Skip to content

Commit

Permalink
updated gradle workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NewJumper committed Jul 17, 2024
1 parent 7b17424 commit c6da54c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Gradle Build

on:
push:
branches: [ "forge-1.20" ]
branches:
- "neoforge-1.21"
- "forge-1.20"
pull_request:
branches: [ "forge-1.20" ]
branches:
- "neoforge-1.21"
- "forge-1.20"

permissions:
contents: read
Expand All @@ -15,10 +19,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
Expand Down

0 comments on commit c6da54c

Please sign in to comment.