Skip to content

feat: update gradle & version #34

feat: update gradle & version

feat: update gradle & version #34

Workflow file for this run

name: Publish project to Maven repository
# OR, publish per each commit
on:
push:
branches: [ master, develop ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish with Gradle
id: publish
run: ./gradlew build publish
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} # token name
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} # token secret (password)