Skip to content

Update gradle

Update gradle #153

Workflow file for this run

name: Build Surf
on:
push:
branches: [ main ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
if: "github.actor != 'dependabot[bot]'"
steps:
- uses: actions/checkout@main
- name: Set up JDK 21
uses: actions/setup-java@main
with:
java-version: 21
distribution: zulu
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build
run: ./gradlew clean build
- name: Release Surf
uses: marvinpinto/action-automatic-releases@master
with:
title: "Surf v5.0.0"
automatic_release_tag: "5.0.0"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: "build/libs/Surf-*.jar"
prerelease: true