Skip to content

Cannot read property 'head' of undefined #301

@rgnter

Description

@rgnter

I've already seen issue posted here, but nothing helps. My organization has repository ethernal-project\ethernal-core which depends on public SpigotMC/BungeeCord.

My defintions file (click for full raw definitions file):

version: "2.1"

# Dependencies
dependencies:
  - project: SpigotMC/BungeeCord
  - project: ethernal-project/ethernal-core
    dependencies: 
      - project: SpigotMC/BungeeCord

# Builds
default:
  build-command:
    current: echo "build bungee"
build:
  - project: ethernal-project/ethernal-core
    build-command:
      current: echo "build core"

And my action file:

name: Java CI with Gradle
on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
permissions:
  contents: read
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    # Setup JDK
    - uses: actions/checkout@v3
    - name: Set up JDK 17
      uses: actions/setup-java@v3
      with:
        java-version: '17'
        distribution: 'temurin'
        
    # Build Chain
    - name: "Run build-chain"
      id: build-chain
      uses: kiegroup/[email protected]
      with:
        definition-file: https://gist.githubusercontent.com/rgnter/1484f65a1a2396b870886f74c454abfe/raw/bc2ab1c61e2d0f97f05c15bded58100c0ea0f192/definitions.yml
    # Build
    - name: Build with Gradle
      uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
      with:
        arguments: build

Here's the log (click for full raw log):
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions