Skip to content

Create android.yml

Create android.yml #1

Triggered via push February 20, 2024 17:49
Status Failure
Total duration 13s
Artifacts

android.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
build
unable to create file static record Human (String name, int age, String profession) {} public String checkObject(Object obj) { return switch (obj) { case Human h -> "Name: %s, age: %s and profession: %s".formatted(h.name(), h.age(), h.profession()); case Circle c -> "This is a circle"; case Shape s -> "It is just a shape"; case null -> "It is null"; default -> "It is an object"; }; } public String checkShape(Shape shape) { return switch (shape) { case Triangle t && (t.getNumberOfSides() != 3) -> "This is a weird triangle"; case Circle c && (c.getNumberOfSides() != 0) -> "This is a weird circle"; default -> "Just a normal shape"; }; }: File name too long
build
The process '/usr/bin/git' failed with exit code 1
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.