update dependencies #18
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: Gradle CI + Publish | |
on: | |
push: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checking up | |
- uses: actions/checkout@v3 | |
# Setting up Java 17 | |
- name: JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
# Building | |
- name: Build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: clean shadowJar | |
env: | |
# GitHub Packages | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Uploading artifact(s) | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
path: build/libs |