From 5493d0efb8cc31fe630a5b02e84dcd0378810b40 Mon Sep 17 00:00:00 2001 From: Petr Ilin Date: Mon, 23 Jan 2023 15:59:43 +0300 Subject: Run CI only on master branch --- .github/workflows/build.yml | 8 +++++++- build.gradle | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f98d62..1e5fd1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,12 @@ name: Java CI with Gradle -on: [ push, pull_request ] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: build: diff --git a/build.gradle b/build.gradle index 70635ea..97e5a26 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ plugins { } setGroup("net.elytrium") -setVersion("1.1.6-SNAPSHOT") +setVersion("1.1.6") java { setSourceCompatibility(JavaVersion.VERSION_11) -- cgit