Add and update GitHub actions #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: Pull Request Actions | |
on: | |
pull_request: | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: temurin | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- 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 on GitHub Actions | |
uses: actions/upload-artifact@v3 | |
with: | |
if-no-files-found: error | |
path: build/libs/ | |
name: CEI .jar files from PR |