fix: update the Mojang API endpoint (#413) #112
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 to Reposilite | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 16 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 16 | |
server-id: reposilite # Value of the distributionManagement/repository/id field of the pom.xml | |
server-username: MAVEN_USERNAME | |
server-password: MAVEN_PASSWORD | |
cache: 'maven' | |
distribution: 'adopt' | |
- name: Build with Maven | |
run: ./mvnw -B package --file pom.xml | |
- name: Publish to Reposilite | |
run: ./mvnw -B deploy | |
env: | |
MAVEN_USERNAME: simpleclans | |
MAVEN_PASSWORD: ${{ secrets.REPOSILITE_TOKEN }} |