Skip to content

ci: update github actions workflow to trigger on push events for all … #2

ci: update github actions workflow to trigger on push events for all …

ci: update github actions workflow to trigger on push events for all … #2

name: Push to main workflow
on:
push:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: set up gradle
uses: gradle/gradle-build-action@v2
- name: test with gradle
run: ./gradlew test
- name: build with gradle
run: ./gradlew build