Skip to content

Port to 1.20.2 (#305) #355

Port to 1.20.2 (#305)

Port to 1.20.2 (#305) #355

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
concurrency:
group: "build"
cancel-in-progress: true
on:
push:
branches: [ master ]
paths-ignore:
- '*.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: 17
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Remove *-dev.jar
run: rm ./build/libs/*-dev.jar || true
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest-1.20.2"
prerelease: false
title: "1.20.2 Build"
files: |
./build/libs/*.jar