Skip to content

Commit

Permalink
Run CI only on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hevav committed Jan 23, 2023
1 parent d5f320e commit 5493d0e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Java CI with Gradle

on: [ push, pull_request ]
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

setGroup("net.elytrium")
setVersion("1.1.6-SNAPSHOT")
setVersion("1.1.6")

java {
setSourceCompatibility(JavaVersion.VERSION_11)
Expand Down

0 comments on commit 5493d0e

Please sign in to comment.