Initial commit #1
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 Project' | |
on: | |
push: | |
branches: [ 'main' ] | |
pull_request: | |
branches: [ 'main' ] | |
jobs: | |
build: | |
name: 'Build Project' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v4 | |
- name: 'Setup Java' | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 8 # TODO: Change this to your Java version | |
- name: 'Setup Gradle' | |
uses: gradle/actions/setup-gradle@v3 | |
- name: 'Apply Permissions to Gradlew' | |
run: chmod +x gradlew | |
- name: 'Build with Gradle' | |
run: ./gradlew build |