Skip to content

add repo publishing

add repo publishing #4

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java:
- 17
- 21
steps:
- name: Checkout
uses: actions/[email protected]
- name: 'Set up JDK ${{ matrix.java }}'
uses: actions/[email protected]
with:
distribution: temurin
java-version: '${{ matrix.java }}'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build the Jar
run: './gradlew clean build'