Skip to content

chore(deps): update actions/setup-java action to v4 #23

chore(deps): update actions/setup-java action to v4

chore(deps): update actions/setup-java action to v4 #23

Workflow file for this run

name: Deploy
on:
push:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
server-id: papermc-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.PAPERREPO_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.PAPERREPO_TOKEN }}