Merge pull request #19 from byPixelTV/renovate/gradle-8.x #128
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: Java CI with Gradle | |
on: | |
push: | |
branches: [ '**' ] | |
pull_request: | |
branches: [ '**' ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 23 | |
uses: actions/setup-java@v4.5.0 | |
with: | |
java-version: '23' | |
distribution: 'temurin' | |
- name: Make Gradle wrapper executable | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew shadowJar | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SkCloudnet-Dev-Build [CLICK TO DOWNLOAD] | |
path: build/libs/SkCloudnet-*.jar |