Skip to content

version bump to 1.1.1 (release) #33

version bump to 1.1.1 (release)

version bump to 1.1.1 (release) #33

Workflow file for this run

# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
# Triggers while pushing commits and doing pull request on 'master' branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
# runs on latest version of ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# makes gradlew executable/runnable (to prevent cannot execute problem)
- name: Make gradlew executable
run: chmod +x gradlew
# setup JDK 11 for building (even for MC 1.8.8)
# update : no more java 8 as of one plugin requirement
# update : MC 1.8.8 will still be supported cause java 11 works
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
# to fix the said vulnerability of older version than 2.4.2
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
run: ./gradlew build --scan -xtest
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: SE7ENLib-SNAPSHOT-${{ github.run_number }}
path: ${{ github.workspace }}/build/libs/*.jar