Merge pull request #30 from Lycoon/dev #15
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: Deploy CI | |
on: | |
push: | |
branches: | |
- release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: "8" | |
distribution: "temurin" | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots -DskipTests verify | |
- name: Publish to GitHub Packages | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
run: mvn -DskipTests deploy |