Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: oracle-actions/setup-java@v1
- name: Set up JDK 23
uses: oracle-actions/setup-java@v1
with:

Check failure on line 18 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
website: oracle.com
release: 23
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build