chore: updated JDA library and ClashAPI versions #34
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
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Check CI | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
- uses: actions/labeler@v2 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Maven settings.xml | |
uses: whelk-io/maven-settings-xml-action@v20 | |
with: | |
repositories: '[{ "id": "github", "url": "https://maven.pkg.github.com/lycoon/clash-api" }, { "id": "central", "url": "https://repo1.maven.org/maven2" }]' | |
servers: '[{ "id": "github", "username": "Lycoon", "password": "${{ secrets.PASSWORD }}" }]' | |
- name: Build with Maven | |
run: mvn clean package |