diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9b62852 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +permissions: + contents: read + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 25 + + - name: Build + run: ./gradlew build \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5b90207..9a28018 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,9 +45,6 @@ jobs: - 'build.gradle.kts' - 'settings.gradle.kts' - - name: Build all modules - run: ./gradlew build - - name: Publish Paper if: steps.prev_tag.outputs.tag == '' || steps.filter.outputs.paper == 'true' env: diff --git a/build.gradle.kts b/build.gradle.kts index 8db8d68..a8b6dc5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,7 @@ subprojects { group = "xyz.mayahive.customdaytime" - version = "2.1.1" + version = "2.1.2" if (name != "api") { plugins.withId("java") { diff --git a/gradlew b/gradlew old mode 100644 new mode 100755