docs: add title example to readme #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ master ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 18 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Publish with Gradle | |
run: ./gradlew shadowjar publish | |
env: | |
MAVEN_NAME: ${{ secrets.MAVEN_NAME }} # token name | |
MAVEN_SECRET: ${{ secrets.MAVEN_SECRET }} # token secret (password) |