forked from PaperMC/Velocity
-
Notifications
You must be signed in to change notification settings - Fork 15
34 lines (31 loc) · 948 Bytes
/
gradle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This workflow will build a Java project with Gradle
# For more information see: https://docs.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches:
- libdeflate
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: 'gradle'
- name: Build with Gradle
run: ./gradlew build
- name: Upload Velocity
uses: marvinpinto/action-automatic-releases@master
with:
title: "Velocity-CTD"
automatic_release_tag: "Releases"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: "*/build/libs/*.jar"
prerelease: false