Skip to content

Update ci.yaml

Update ci.yaml #5

Workflow file for this run

name: Cognito Spring Boot Starter CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '21'
- name: Run chmod to make gradlew executable
run: chmod +x ./gradlew
- name: Build and Test with Gradle
run: ./gradlew clean build --stacktrace
- name: Upload test results
uses: actions/upload-artifact@v2
with:
name: test-results
path: build/reports