Skip to content

Adds GitHub Action Test #1

Adds GitHub Action Test

Adds GitHub Action Test #1

Workflow file for this run

name: Build
on: [pull_request]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Pull Request
uses: actions/checkout@v3
- name: Setup JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: temurin
cache: gradle
- name: Validate Gradle Wrapper Integrity
uses: gradle/wrapper-validation-action@v1
- name: Make Gradle wrapper executable
run: chmod +x ./gradlew
- name: Build
run: ./gradlew build
- name: Publish Artifacts
uses: actions/upload-artifact@v3
with:
name: Compiled .jar files
path: build/libs/