Skip to content

Bump org.spigotmc:spigot from 1.16.4-R0.1-SNAPSHOT to 1.20.4-R0.1-SNAPSHOT #5

Bump org.spigotmc:spigot from 1.16.4-R0.1-SNAPSHOT to 1.20.4-R0.1-SNAPSHOT

Bump org.spigotmc:spigot from 1.16.4-R0.1-SNAPSHOT to 1.20.4-R0.1-SNAPSHOT #5

Workflow file for this run

name: 'Build'
permissions:
contents: 'read'
on:
pull_request:
push:
branches: [ 'master' ]
jobs:
build:
name: 'build, test and publish'
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout repository'
uses: 'actions/checkout@v2'
- name: 'Setup JDK 17'
uses: 'actions/setup-java@v3'
with:
java-version: '17'
distribution: 'corretto'
- name: 'Validate gradle wrapper'
uses: 'gradle/wrapper-validation-action@v1'
- name: 'Setup gradle permissions'
run: 'chmod +x gradlew'
- name: 'Test project'
run: './gradlew test'
- name: 'Build project'
run: './gradlew build'
- name: 'Publish project'
run: './gradlew publishToMavenLocal'