Fix Valkyrien Skies compat (#362) #144
Workflow file for this run
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 Maven Repository | |
on: | |
push: | |
branches: | |
- minecraft/1.20 | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
- name: Make Gradlew Executable | |
run: chmod +x ./gradlew | |
- name: Build and Publish | |
run: | | |
./gradlew publish | |
env: | |
MAVEN_REPO_USERNAME: ${{ secrets.MAVEN_REPO_USERNAME }} | |
MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} |