Skip to content

Upgrade to action/checkout@v4 #13

Upgrade to action/checkout@v4

Upgrade to action/checkout@v4 #13

Workflow file for this run

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 21
uses: actions/[email protected]
with:
java-version: '17'
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@v2
with:
name: CloudNet-Rest-Module
path: build/libs/CloudNet-Rest-Module-1.0-SNAPSHOT-all.jar