Skip to content

Fix get server version #124

Fix get server version

Fix get server version #124

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 17
uses: actions/setup-java@main
with:
java-version: 17
distribution: temurin
- 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