Skip to content

Create README.md

Create README.md #96

Workflow file for this run

name: gradle-ci
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
java-package: 'jdk'
- name: Make gradle executable
run: chmod +x gradlew
- name: Build artifacts
run: ./gradlew shadowJar
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: smpcore-bukkit/build/libs
- name: Cache Gradle
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-