Skip to content

Create EsamLamSing.yml #1

Create EsamLamSing.yml

Create EsamLamSing.yml #1

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Java CI
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code

Check failure on line 19 in .github/workflows/EsamLamSing.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/EsamLamSing.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
- name: Set Up JDK
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Compile Java
run: |
cd Chaiyong/HolidayTravelVehicles
javac -d . *.java