Adds GitHub Action Test #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |