Skip to content

Commit

Permalink
Create Build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue-Flag-666 committed Dec 14, 2024
1 parent e7ad3a5 commit d231fe6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'oracle'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Grant execute permission to Gradle wrapper
run: chmod +x ./gradlew

- name: Build with Gradle
run: ./gradlew clean build

0 comments on commit d231fe6

Please sign in to comment.