Adding workflows #3

Merged
hitanshu merged 5 commits from hitanshu/Princeton1:main into main 2025-01-27 07:41:15 +00:00
Showing only changes of commit 6747e07be4 - Show all commits

View File

@ -0,0 +1,24 @@
name: sample gradle build and test
run-name: Build started by $ {{gitea.actor }}
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: JDK setup
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Gradle build
run: ./greadlew build -i