mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 04:41:06 -05:00
29 lines
667 B
YAML
29 lines
667 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- feature/math-2.0 #TEMPOARY
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 1.8
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 8
|
|
distribution: temurin
|
|
overwrite-settings: true
|
|
server-id: opencollab-snapshot-repo
|
|
server-username: MAVEN_USERNAME
|
|
server-password: MAVEN_PASSWORD
|
|
- name: Deploy with Maven
|
|
run: mvn deploy -B -P deploy
|
|
env:
|
|
MAVEN_USERNAME: ${{ vars.DEPLOY_USER }}
|
|
MAVEN_PASSWORD: ${{ secrets.DEPLOY_PASS }}
|