Skip to content

Update broken gradle wrapper to 8.3 (#137) #392

Update broken gradle wrapper to 8.3 (#137)

Update broken gradle wrapper to 8.3 (#137) #392

Workflow file for this run

name: Build, Test & Upload
on:
push:
pull_request:
branches-ignore:
- master
jobs:
building:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build project
run: gradle build
- name: Run tests
run: gradle test
- name: Upload Nightly Build
uses: actions/upload-artifact@v2
if: success()
with:
name: skript-nightly
path: build/libs/**