Skip to content

Commit

Permalink
Update gradle_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AV306 authored May 23, 2024
1 parent f783dc7 commit f0d81d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/gradle_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Gradle CI

on:
pull_request:
branches: [ 1.20-DEV, eventfields-split ]
branches: [ 1.20-DEV ]

push:
paths:
Expand All @@ -18,30 +18,30 @@ on:
- '**.gradle'
- '**.properties'

branches: [ 1.20-DEV, eventfields-split ]
branches: [ 1.20-DEV ]

jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '#dontbuild')"
if: "!contains(github.event.head_commit.message, '#noci')"

steps:
- uses: actions/checkout@v4.1.0
name: Checkout

- name: Set up JDK 18
- name: Set up JDK 21
uses: actions/setup-java@v3.13.0
with:
java-version: '17'
java-version: '21'
distribution: 'zulu'

- name: Build with Gradle
uses: gradle/gradle-build-action@v2.8.0
uses: gradle/gradle-build-action@v3.3.2
with:
arguments: build

- name: Export to JAR
uses: gradle/gradle-build-action@v2.8.0
uses: gradle/gradle-build-action@v3.3.2
with:
arguments: jar

Expand Down

0 comments on commit f0d81d4

Please sign in to comment.