Fix typo in java distribution #2
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
name: Publish | |
# OR, publish per each commit | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: 'corretto' | |
- uses: s4u/[email protected] | |
with: | |
servers: | | |
[{ | |
"id": "funoase-plugins-sahara", | |
"username": "${{ secrets.MAVEN_NAME }}", | |
"password": "${{ secrets.MAVEN_SECRET }}" | |
}] | |
- name: Publish with Maven | |
run: mvn deploy |