Skip to content

fix java

fix java #2

Workflow file for this run

name: Publish to Maven
on:
push:
branches:
- master
env:
TOKEN: ${{ github.MVNTOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew publish -Ptoken='$TOKEN'