Skip to content

chore(deps): update actions/checkout action to v4 #20

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #20

Workflow file for this run

name: Deploy
on:
push:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
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 }}