Skip to content

Merge pull request #39 from Ez4p1xEL/master #32

Merge pull request #39 from Ez4p1xEL/master

Merge pull request #39 from Ez4p1xEL/master #32

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)